Skip to content

Commit 7e8ab4b

Browse files
author
zyy
committed
feat: support style lang postcss
1 parent c1c7e07 commit 7e8ab4b

File tree

1 file changed

+1
-0
lines changed
  • packages/@vue/cli-service/lib/config

1 file changed

+1
-0
lines changed

packages/@vue/cli-service/lib/config/css.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ module.exports = (api, options) => {
9595
}
9696

9797
createCSSRule('css', /\.css$/)
98+
createCSSRule('postcss', /\.p(ost)?css$/)
9899
createCSSRule('scss', /\.scss$/, 'sass-loader', loaderOptions.sass)
99100
createCSSRule('sass', /\.sass$/, 'sass-loader', Object.assign({
100101
indentedSyntax: true

0 commit comments

Comments
 (0)