Commit aa1cbb7a by 冒粤蓉

fix config

1 parent 59323340
......@@ -104,7 +104,7 @@ const getBaseUrl = () => {
resolve(resBaseURL);
} else {
baseFlag = true;
resolve(BASE_URL)
resolve(BASE_URL);
}
}).catch((err) => {
baseFlag = true;
......
......@@ -6,7 +6,7 @@ function resolve (dir) {
}
const dev = process.env.NODE_ENV === "development";
console.log('portportportportport', port);
module.exports = {
publicPath: dev ? `//localhost:${port}` : "./",
outputDir: "dist",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!