Skip to content

Commit

Permalink
change module from commonjs to es2022
Browse files Browse the repository at this point in the history
  • Loading branch information
woodser committed Sep 12, 2024
1 parent 3d274ff commit 09b2f9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"declaration": true,
"module": "commonjs",
"module": "es2022",
"target": "es2021",
"allowJs": true,
"outDir": "dist",
Expand Down
2 changes: 1 addition & 1 deletion webpack.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ let configBase = {
os: require.resolve('os-browserify/browser'),
path: require.resolve('path-browserify'),
//punycode: require.resolve('punycode'),
//process: require.resolve('process/browser'),
'process/browser': require.resolve('process/browser'),
querystring: require.resolve('querystring-es3'),
stream: require.resolve('stream-browserify'),
//string_decoder: require.resolve('string_decoder'),
Expand Down

0 comments on commit 09b2f9e

Please sign in to comment.