Skip to content

Commit

Permalink
feat: support style lang postcss (close: #461)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed May 16, 2018
1 parent 596014f commit 881199a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/webpack/createBaseConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ module.exports = function createBaseConfig ({
}

createCSSRule('css', /\.css$/)
createCSSRule('postcss', /\.p(ost)?css$/)
createCSSRule('scss', /\.scss$/, 'sass-loader', siteConfig.scss)
createCSSRule('sass', /\.sass$/, 'sass-loader', Object.assign({ indentedSyntax: true }, siteConfig.sass))
createCSSRule('less', /\.less$/, 'less-loader', siteConfig.less)
Expand Down

0 comments on commit 881199a

Please sign in to comment.