Commit ba756e88 by caoyanzhi

update: 打包调整

parent 40ee6a99
......@@ -42,7 +42,12 @@ const devWebpackConfig = merge(baseWebpackConfig, {
quiet: true, // necessary for FriendlyErrorsPlugin
watchOptions: {
poll: config.dev.poll,
}
},
before(app, server) {
app.get(/^(?!\/haoban-3).*$/, (req, res) => {
res.redirect('/haoban-3/');
})
},
},
plugins: [
new webpack.DefinePlugin({
......
......@@ -36,6 +36,7 @@
"sortablejs": "^1.10.2",
"tinymce": "^4.8.3",
"v-contextmenu": "^2.9.0",
"vue": "2.6.6",
"vue-amap": "^0.5.10",
"vue-awesome-swiper": "^3.1.3",
"vue-clipboard2": "^0.2.0",
......@@ -94,7 +95,7 @@
"vue-axios": "^2.1.1",
"vue-loader": "^13.3.0",
"vue-style-loader": "^3.0.1",
"vue-template-compiler": "^2.5.2",
"vue-template-compiler": "2.6.6",
"vuedraggable": "^2.23.2",
"webpack": "^3.6.0",
"webpack-bundle-analyzer": "^2.9.0",
......
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