mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
[sass] support imports that start with ~
This commit is contained in:
parent
00b93cac73
commit
0bf4e68339
@ -2,7 +2,15 @@
|
||||
|
||||
module.exports = {
|
||||
"plugins": {
|
||||
"postcss-import": {},
|
||||
"postcss-import": {
|
||||
resolve(id) {
|
||||
// sass imports that start with ~ (which refers node_modules) should be supported
|
||||
if (id.startsWith('~')) {
|
||||
return id.slice(1);
|
||||
}
|
||||
return id;
|
||||
}
|
||||
},
|
||||
"postcss-url": {},
|
||||
// to edit target browsers: use "browserslist" field in package.json
|
||||
"autoprefixer": {}
|
||||
|
Loading…
Reference in New Issue
Block a user