mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
Add common pre-processors in nuxt
This commit is contained in:
parent
7a34763277
commit
89ed672f10
@ -70,10 +70,11 @@ export default function ({ isClient, isServer }) {
|
||||
cacheDirectory: !!this.dev
|
||||
})
|
||||
},
|
||||
{
|
||||
test: /\.css$/,
|
||||
loader: 'vue-style-loader!css-loader'
|
||||
}
|
||||
{ test: /\.css$/, loader: 'vue-style-loader!css-loader' },
|
||||
{ test: /\.less$/, loader: 'vue-style-loader!css-loader!less-loader' },
|
||||
{ test: /\.sass$/, loader: 'vue-style-loader!css-loader!sass-loader?indentedSyntax' },
|
||||
{ test: /\.scss$/, loader: 'vue-style-loader!css-loader!sass-loader' },
|
||||
{ test: /\.styl(us)?$/, loader: 'vue-style-loader!css-loader!stylus-loader' }
|
||||
]
|
||||
},
|
||||
plugins: this.options.build.plugins
|
||||
|
Loading…
Reference in New Issue
Block a user