mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +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
|
cacheDirectory: !!this.dev
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
{
|
{ test: /\.css$/, loader: 'vue-style-loader!css-loader' },
|
||||||
test: /\.css$/,
|
{ test: /\.less$/, loader: 'vue-style-loader!css-loader!less-loader' },
|
||||||
loader: 'vue-style-loader!css-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
|
plugins: this.options.build.plugins
|
||||||
|
Loading…
Reference in New Issue
Block a user