mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
refactor: use postcss-import-resolver
This commit is contained in:
parent
962a4e20d6
commit
c796d1d231
@ -2,7 +2,7 @@ const { existsSync } = require('fs')
|
||||
const { resolve, join } = require('path')
|
||||
const { cloneDeep } = require('lodash')
|
||||
const { isPureObject } = require('../../common/utils')
|
||||
const createResolver = require('postcss-import-webpack-resolver')
|
||||
const createResolver = require('postcss-import-resolver')
|
||||
|
||||
module.exports = function postcssConfig() {
|
||||
let config = cloneDeep(this.options.build.postcss)
|
||||
|
@ -141,7 +141,7 @@
|
||||
"jsdom": "^11.5.1",
|
||||
"json-loader": "^0.5.7",
|
||||
"nyc": "^11.4.1",
|
||||
"postcss-import-webpack-resolver": "^1.0.1",
|
||||
"postcss-import-resolver": "^1.1.0",
|
||||
"puppeteer": "^1.0.0",
|
||||
"request": "^2.83.0",
|
||||
"request-promise-native": "^1.0.5",
|
||||
|
@ -5779,9 +5779,9 @@ postcss-image-set-polyfill@^0.3.5:
|
||||
postcss "^6.0.1"
|
||||
postcss-media-query-parser "^0.2.3"
|
||||
|
||||
postcss-import-webpack-resolver@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/postcss-import-webpack-resolver/-/postcss-import-webpack-resolver-1.0.1.tgz#4be0e9400b7609313e11258a17c3c4d7db186ac9"
|
||||
postcss-import-resolver@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/postcss-import-resolver/-/postcss-import-resolver-1.1.0.tgz#08a1a9811da625d28317abc31565a8408ff28cd2"
|
||||
dependencies:
|
||||
enhanced-resolve "^3.4.1"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user