Commit cd2110f8 by caoyanzhi

update: 调整打包配置

parent 3349442c
......@@ -42,7 +42,12 @@ const devWebpackConfig = merge(baseWebpackConfig, {
quiet: true, // necessary for FriendlyErrorsPlugin
watchOptions: {
poll: config.dev.poll,
}
},
before(app, server) {
app.get(/^(?!\/member-tag).*$/, (req, res) => {
res.redirect('/member-tag/');
})
},
},
plugins: [
new webpack.DefinePlugin({
......
......@@ -9,7 +9,7 @@ module.exports = {
// Paths
assetsSubDirectory: 'static',
assetsPublicPath: '/',
assetsPublicPath: '/member-tag',
proxyTable: {},//proxyConfig.proxyList,
// Various Dev Server settings
......
......@@ -15,7 +15,7 @@
"file-saver": "^1.3.8",
"moment": "^2.29.1",
"tinymce": "^4.8.3",
"vue": "^2.5.2",
"vue": "2.6.6",
"vue-clipboard2": "^0.2.0",
"vue-loader": "^13.7.3",
"vue-router": "^3.0.1",
......@@ -75,7 +75,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.16.0",
"vuex": "^3.0.1",
"webpack": "^3.6.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