Skip to content

Commit

Permalink
fix: Support for Node.js 22
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Dec 22, 2024
1 parent 014263d commit ba59e60
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "@storybook/addon-webpack5-compiler-babel",
"version": "3.0.3",
"type": "module",
"description": "Adds babel as a Webpack5 compiler to Storybook",
"keywords": [
"storybook-addons",
Expand All @@ -13,7 +12,7 @@
"url": "git+https://github.com/storybookjs/addon-webpack5-compiler-babel.git"
},
"scripts": {
"build": "tsup",
"build": "tsup --config tsup.config.ts",
"format": "biome format ./src",
"format:write": "pnpm format --write",
"check": "biome check ./src",
Expand All @@ -24,10 +23,10 @@
},
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./preset": "./dist/preset.cjs",
"./preset": "./dist/preset.js",
"./package.json": "./package.json"
},
"main": "dist/index.cjs",
Expand Down Expand Up @@ -78,10 +77,10 @@
},
"bundler": {
"exportEntries": [
"src/index.ts"
"src/index.mts"
],
"nodeEntries": [
"src/preset.ts"
"src/preset.mts"
]
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ba59e60

Please sign in to comment.