Skip to content

Commit babac4a

Browse files
fix: Support for Node.js 22
1 parent 014263d commit babac4a

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "@storybook/addon-webpack5-compiler-babel",
33
"version": "3.0.3",
4-
"type": "module",
54
"description": "Adds babel as a Webpack5 compiler to Storybook",
65
"keywords": [
76
"storybook-addons",
@@ -13,7 +12,7 @@
1312
"url": "git+https://github.com/storybookjs/addon-webpack5-compiler-babel.git"
1413
},
1514
"scripts": {
16-
"build": "tsup",
15+
"build": "tsup --config tsup.config.mts",
1716
"format": "biome format ./src",
1817
"format:write": "pnpm format --write",
1918
"check": "biome check ./src",
@@ -24,10 +23,10 @@
2423
},
2524
"exports": {
2625
".": {
27-
"require": "./dist/index.cjs",
28-
"import": "./dist/index.js"
26+
"require": "./dist/index.js",
27+
"import": "./dist/index.mjs"
2928
},
30-
"./preset": "./dist/preset.cjs",
29+
"./preset": "./dist/preset.js",
3130
"./package.json": "./package.json"
3231
},
3332
"main": "dist/index.cjs",
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)