-
Notifications
You must be signed in to change notification settings - Fork 29
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
sourcemap sources
field gets url encoded
#133
Comments
The source map spec actually implies that
|
It is valid to include I added a directory named
|
Yes I expect sources field to be
or
. |
As regarding the path after So this is an inconsistency between the output of the two. |
The behavior difference is only shown in the legacy API, which for the embedded host it is just a wrapper of new API. I modified your test cases with the new |
URL encode is done by this: embedded-host-node/lib/src/legacy/index.ts Lines 256 to 259 in 5c398d8
|
Oh I was misunderstanding the behavior. Yes you were correct. Also for
I will leave this issue open for the reasons above, but please feel free to close it. |
When a file is in a directory with a name including
@
, thesources
field in sourcemap gets url encoded.This does not happen with dart-sass.
Step to reproduce
npm i
.node sass.js
The text was updated successfully, but these errors were encountered: