Skip to content

Commit

Permalink
➕ adds production version loader for LESS
Browse files Browse the repository at this point in the history
  • Loading branch information
kitze committed Oct 3, 2016
1 parent 8eb35de commit f84d8b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/customizers.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ module.exports = {
test: /\.less$/,
loader: "style!css!postcss!less"
}
},
getProd: function () {
return {
test: /\.less/,
loader: ExtractTextPlugin.extract('style', 'css!postcss!less')
}
}
},
'CSS_MODULES': {
Expand Down

0 comments on commit f84d8b4

Please sign in to comment.