同时支持打包为Jar和War
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user