Commit 88c9fd1b by caoyanzhi

update: 打包调整

parent 3e958ffc
......@@ -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