mirror of
https://github.com/nuxt/nuxt.git
synced 2025-03-03 14:14:08 +00:00
parent
b4847b7656
commit
a721232173
@ -86,8 +86,15 @@ Options.from = function (_options) {
|
||||
options.build.postcss = Object.assign({
|
||||
sourceMap: options.build.cssSourceMap,
|
||||
plugins: {
|
||||
// https://github.com/postcsxs/postcss-import
|
||||
'postcss-import': {},
|
||||
// https://github.com/postcss/postcss-import
|
||||
'postcss-import': {
|
||||
root: options.rootDir,
|
||||
path: [
|
||||
options.srcDir,
|
||||
options.rootDir,
|
||||
options.modulesDir
|
||||
]
|
||||
},
|
||||
// https://github.com/postcss/postcss-url
|
||||
'postcss-url': {},
|
||||
// http://cssnext.io/postcss
|
||||
|
Loading…
Reference in New Issue
Block a user