Skip to content

Commit 1037b9c

Browse files
zyy7259yyx990803
authored andcommitted
feat: support <style lang="postcss"> (#1259)
1 parent da38747 commit 1037b9c

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

+1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ module.exports = (api, options) => {
103103
}
104104

105105
createCSSRule('css', /\.css$/)
106+
createCSSRule('postcss', /\.p(ost)?css$/)
106107
createCSSRule('scss', /\.scss$/, 'sass-loader', loaderOptions.sass)
107108
createCSSRule('sass', /\.sass$/, 'sass-loader', Object.assign({
108109
indentedSyntax: true

0 commit comments

Comments
 (0)