|
@@ -5,7 +5,7 @@ const webpack = require("webpack");
|
|
function resolve(dir) {
|
|
function resolve(dir) {
|
|
return path.join(__dirname, dir);
|
|
return path.join(__dirname, dir);
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
const name = defaultSettings.title || "zxkcadmin"; // page title
|
|
const name = defaultSettings.title || "zxkcadmin"; // page title
|
|
|
|
|
|
// If your port is set to 80,
|
|
// If your port is set to 80,
|
|
@@ -70,7 +70,7 @@ module.exports = {
|
|
},
|
|
},
|
|
chainWebpack(config) {
|
|
chainWebpack(config) {
|
|
config.plugins.delete("preload"); // TODO: need test
|
|
config.plugins.delete("preload"); // TODO: need test
|
|
- config.plugins.delete("prefetch"); // TODO: need test
|
|
|
|
|
|
+ config.plugins.delete("prefetch"); // TODO: need tes
|
|
config.plugin("provide").use(webpack.ProvidePlugin, [
|
|
config.plugin("provide").use(webpack.ProvidePlugin, [
|
|
{
|
|
{
|
|
"window.Quill": "quill"
|
|
"window.Quill": "quill"
|