Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix absolute path importing in sass #2432

Merged
merged 11 commits into from Feb 17, 2019
1 change: 1 addition & 0 deletions packages/core/parcel-bundler/src/assets/SASSAsset.js
Expand Up @@ -45,6 +45,7 @@ class SASSAsset extends Asset {
? opts.importer
: [opts.importer];
opts.importer.push((url, prev, done) => {
url = url.replace('file://', '');
mischnic marked this conversation as resolved.
Show resolved Hide resolved
url = parseCSSImport(url);
resolver
.resolve(url, prev === 'stdin' ? this.name : prev)
Expand Down