peach a19a732be8 commit message | %!s(int64=2) %!d(string=hai) anos | |
---|---|---|
.. | ||
.yarnrc | %!s(int64=2) %!d(string=hai) anos | |
CHANGELOG.md | %!s(int64=2) %!d(string=hai) anos | |
LICENSE | %!s(int64=2) %!d(string=hai) anos | |
index.d.ts | %!s(int64=2) %!d(string=hai) anos | |
index.js | %!s(int64=2) %!d(string=hai) anos | |
package.json | %!s(int64=2) %!d(string=hai) anos | |
readme.md | %!s(int64=2) %!d(string=hai) anos |
$ npm install --save postcss-import-resolver
# or
$ yarn add postcss-import-resolver
const resolver = require('postcss-import-resolver')
const postcssLoader = {
loader: 'postcss-loader',
options: {
plugins: {
'postcss-import': {
resolve: resolver({
alias: {
'~': 'src/'
},
modules: ['node_modules']
})
}
}
}
}