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

Add cli option to specify source maps directory? #4340

Open
ogomez92 opened this issue Mar 17, 2020 · 2 comments
Open

Add cli option to specify source maps directory? #4340

ogomez92 opened this issue Mar 17, 2020 · 2 comments

Comments

@ogomez92
Copy link

🙋 feature request

I would like to specify source maps directory, since Electron is looking for the source map in the wrong place :(

🤔 Expected Behavior

Parl-bundler should be able to generate source files in the parent directory for example.

--source-maps-dir=/maps?

😯 Current Behavior

None

Explained above.

💁 Possible Solution

Include a cli option.

🔦 Context

Electron is looking for the source map in the wrong directory.

💻 Examples

@mischnic
Copy link
Member

mischnic commented Mar 18, 2020

Do you want to change the folder where they are put or add a prefix to the sourceMappingUrl at the end of a file?
Maybe you can give an example of your situation.

@asprich
Copy link

asprich commented Mar 25, 2020

I might be wrong, but I've run into the same issue. I think we'd like the ability to specify where the source files are for the generated source maps.

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

4 participants