-
Notifications
You must be signed in to change notification settings - Fork 3
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
build with sourcemapper #7
Comments
What is sourcemapper? Can you repro the line number issue in the demo? |
It's the feature that maps source line/column positions to the compiled output so Stylus extension can report correct errors in case parsing failed while building moz-sections from the compiled sourceCode. |
Here: stylus-lang-bundle/rollup.config.js Line 28 in bf8d697
|
Too big. We could try to add our own code that simply makes an array of positions, not a full-fledged sourcemap, I guess. |
Stylus arguably needs source maps in order to report correct position of errors/warnings.
Hopefully the extra size isn't too big, I tried building this repo but got a bunch of errors for circular dependencies and whatnot.
The text was updated successfully, but these errors were encountered: