Commit ba756e88 by caoyanzhi

update: 打包调整

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