Skip to content

Commit

Permalink
fix(xo): fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Feb 27, 2016
1 parent 9bc6691 commit 6156100
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions lib/webpack.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ module.exports = function (type, options) {
})
]
}
const postcssLoader = options.cssmodules
? 'css-loader?modules&importLoaders=1!postcss-loader'
: 'css-loader!postcss-loader'
const postcssLoader = options.cssmodules ?
'css-loader?modules&importLoaders=1!postcss-loader' :
'css-loader!postcss-loader'
// set format
if (options.umd) {
config.output.libraryTarget = 'umd'
Expand Down
6 changes: 3 additions & 3 deletions lib/webpack.config.vue.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ module.exports = function (type, options) {
loaders: {},
postcss: config.postcss
}
const postcssLoader = options.cssmodules
? 'css-loader?modules&importLoaders=1!postcss-loader'
: 'css-loader!postcss-loader'
const postcssLoader = options.cssmodules ?
'css-loader?modules&importLoaders=1!postcss-loader' :
'css-loader!postcss-loader'
if (type === 'watch') {
// configs only for watch mode
} else if (type === 'build') {
Expand Down

0 comments on commit 6156100

Please sign in to comment.