同时支持打包为Jar和War

This commit is contained in:
648540858
2023-02-07 20:59:33 +08:00
parent e46bf8a8bd
commit 6484f52e46
46 changed files with 189 additions and 160 deletions

View File

@@ -47,7 +47,8 @@ exports.cssLoaders = function (options) {
if (options.extract) {
return ExtractTextPlugin.extract({
use: loaders,
fallback: 'vue-style-loader'
fallback: 'vue-style-loader',
publicPath: '../../'
})
} else {
return ['vue-style-loader'].concat(loaders)