Commit 286c9b81 authored by fanxuehui's avatar fanxuehui

build:

parent 7caf7c11
...@@ -9,7 +9,7 @@ module.exports = { ...@@ -9,7 +9,7 @@ module.exports = {
output: { output: {
path: path.resolve(__dirname, "dist"), path: path.resolve(__dirname, "dist"),
filename: "[name].js", filename: "[name].js",
publicPath: "//yun.tuia.cn/tuia/rip/", publicPath: "/",
libraryTarget: "umd", libraryTarget: "umd",
}, },
resolve: { resolve: {
...@@ -30,7 +30,7 @@ module.exports = { ...@@ -30,7 +30,7 @@ module.exports = {
}, },
{ {
test: /\.worker\.js$/, test: /\.worker\.js$/,
use: { loader: "worker-loader", options: { inline: env === "dev" } }, use: { loader: "worker-loader", options: { fallback: false, inline: true } },
}, },
], ],
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment