mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-06 03:57:53 +08:00
fix:postcss-loader sourceMap
This commit is contained in:
parent
1c4c3380e6
commit
e0f6248d0e
@ -22,8 +22,10 @@ exports.cssLoaders = function (options) {
|
|||||||
|
|
||||||
var postcssLoader = {
|
var postcssLoader = {
|
||||||
loader: 'postcss-loader',
|
loader: 'postcss-loader',
|
||||||
|
options: {
|
||||||
sourceMap: options.sourceMap
|
sourceMap: options.sourceMap
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// generate loader string to be used with extract text plugin
|
// generate loader string to be used with extract text plugin
|
||||||
function generateLoaders (loader, loaderOptions) {
|
function generateLoaders (loader, loaderOptions) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user