build: use commonjs config for webpack (#449)
This commit is contained in:
+1
-2
@@ -93,7 +93,6 @@
|
||||
"babel-plugin-syntax-dynamic-import": "6.18.0",
|
||||
"babel-plugin-tsconfig-paths": "1.0.2",
|
||||
"cors": "^2.8.5",
|
||||
"cross-env": "^7.0.3",
|
||||
"depcheck": "^1.4.3",
|
||||
"env-paths": "^3.0.0",
|
||||
"eslint": "8.17.0 ",
|
||||
@@ -127,7 +126,7 @@
|
||||
"start": "react-scripts start",
|
||||
"desktop": "node ./desktop.mjs",
|
||||
"build": "react-scripts build",
|
||||
"build:component": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' webpack --mode=production",
|
||||
"build:component": "webpack --mode=production",
|
||||
"compile:types": "tsc --project tsconfig.lib.json --emitDeclarationOnly --declaration",
|
||||
"test": "react-scripts test",
|
||||
"serve": "node ./serve.js",
|
||||
|
||||
Reference in New Issue
Block a user