Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

Commit

Permalink
Tweak css loader syntax for webpack 2
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Feb 17, 2017
1 parent a127444 commit cd15f07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/loaders.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports.cssLoaders = function (options = {}) {
extraParamChar = '?'
}
return loader + (options.sourceMap ? extraParamChar + 'sourceMap' : '')
}).join('!')
})

// Extract CSS when that option is specified
// (which is the case during production build)
Expand All @@ -24,7 +24,7 @@ exports.cssLoaders = function (options = {}) {
fallback: 'vue-style-loader'
})
}
return ['vue-style-loader', sourceLoader].join('!')
return ['vue-style-loader'].concat(sourceLoader)
}

// http://vuejs.github.io/vue-loader/en/configurations/extract-css.html
Expand Down
Binary file modified media/preview.sketch
Binary file not shown.

0 comments on commit cd15f07

Please sign in to comment.