修复:编译配置

pull/2214/head
ChenX 1 year ago
parent 18dbecc0df
commit 6081b06048

@ -10,7 +10,7 @@ const config: webpack.Configuration = merge(
mode: "production", mode: "production",
devtool: "source-map", devtool: "source-map",
entry: { entry: {
shareview: "./src/Add-on/ShareView/Entry", shareview: "./src/Add-on/ShareView/ShareViewEntry",
}, },
optimization: { optimization: {
minimizer: [ minimizer: [

@ -24,7 +24,7 @@
"ser": "node ./utils/server.js", "ser": "node ./utils/server.js",
"postinstall": "ts-node ./utils/copy_type.ts", "postinstall": "ts-node ./utils/copy_type.ts",
"publish": "ts-node ./utils/publish.ts", "publish": "ts-node ./utils/publish.ts",
"dev:share": "webpack serve -c ./config/webpack.dev.ts --entry ./src/Add-on/ShareView/Entry.tsx --port 7776" "dev:share": "webpack serve -c ./config/webpack.dev.ts --entry ./src/Add-on/ShareView/ShareViewEntry.tsx --port 7776"
}, },
"private": true, "private": true,
"author": "", "author": "",

Loading…
Cancel
Save