Skip to content

Commit

Permalink
add-module-exports プラグインがないとstandaloneで動作しない問題の修正
Browse files Browse the repository at this point in the history
  • Loading branch information
uidev1116 committed Feb 27, 2025
1 parent aa500a8 commit f4bbe51
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module.exports = {
presets: ["@babel/preset-env"],
presets: ['@babel/preset-env'],
plugins: ['add-module-exports'],
};
7 changes: 7 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"@babel/cli": "^7.23.9",
"@babel/core": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"babel-plugin-add-module-exports": "^1.0.4",
"babelify": "^10.0.0",
"browser-sync": "^3.0.2",
"browserify": "^17.0.0",
Expand Down

0 comments on commit f4bbe51

Please sign in to comment.