-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Unfound source map when importing CSS with webpack #557
Comments
@brendon |
I'd love to but I can't figure out how the source map line is being generated. There doesn't seem to be an equivalent in the source code so I assume it's generated by some build process before release? |
@brendon |
Thanks @lja1018 :D Let me know if there's anything I can do/test on this end :) |
Describe the bug
When importing
dist/tui-image-editor.css
using webpack:import 'tui-image-editor/dist/tui-image-editor.css'
We get the following output in the console:
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (index.css.map, line 0)
https://server.test/packs/css/src/css/index.css.map
To Reproduce
Steps to reproduce the behavior:
import 'tui-image-editor/dist/tui-image-editor.css'
Expected behavior
I'd expect the source map to load correctly. It appears that webpack is unable to find it.
Additional context
Removing the source map declaration would fix this problem. There's probably a more elegant way though.
/*# sourceMappingURL=src/css/index.css.map */
The text was updated successfully, but these errors were encountered: