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

Customize sourceMappingURL #1869

Closed
hirasso opened this issue Aug 8, 2018 · 2 comments
Closed

Customize sourceMappingURL #1869

hirasso opened this issue Aug 8, 2018 · 2 comments

Comments

@hirasso
Copy link

hirasso commented Aug 8, 2018

First of all, what a great project!! Thanks to everyone working on it.

🙋 feature request

It would be nice if we could customize the sourceMappingURL, or make it relative to the script's location. At the moment it's /index.map and isn't found by the browser. If I change the url manually to ./index.map, it works fine.

🤔 Expected Behavior

the sourceMappingURL should be relative to the script

😯 Current Behavior

at the moment, the sourceMappingURL is absolute

💁 Possible Solution

That's where you pros come in ;)

@DeMoorJasper
Copy link
Member

I don't think it'll be possible to make it configurable.

But it should already be able to become relative using --public-url ./?

@hirasso
Copy link
Author

hirasso commented Aug 9, 2018

@DeMoorJasper great, that did the trick! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants