Commit 6e941e0d by caoyanzhi

Merge branch 'feature/打包调整' into dev

parents 3eea87cf 88c9fd1b
......@@ -42,7 +42,12 @@ const devWebpackConfig = merge(baseWebpackConfig, {
quiet: true, // necessary for FriendlyErrorsPlugin
watchOptions: {
poll: config.dev.poll,
}
},
before(app, server) {
app.get(/^(?!\/integral-mall).*$/, (req, res) => {
res.redirect('/integral-mall/');
})
},
},
plugins: [
new webpack.DefinePlugin({
......
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