Source maps are only generated when not using PSC IDE fast rebuilds
See original GitHub issueWhen I enable fast rebuilds by adding pscIde: true
to the options, the sourcemaps are not being updated.
How to fix this issue while still retaining the fast rebuild feature? I can’t disable fast rebuild, as I have 1500 modules, and compiling is taking me 6 seconds to complete and dev-server auto reload to trigger.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
sourcemaps not being generated · Issue #5384 · nrwl/nx
I am using @nrwl/next and for some reason I cannot find a way to generate source maps. Running nx serve my-app --sourceMap does...
Read more >Should I Use Source Maps in Production? | CSS-Tricks
Typically, source maps are a configuration option from the preprocessor. Here's Babel's options.
Read more >Don't Use Create React App Until You Know This
Source maps are just JSON files that essentially rebuild what the bundlers and transpilers changed. Their main purpose is to help debug your ......
Read more >How to configure source maps generated by babel?
Sourcemaps are only used for debugging, not for types resolving/navigation. And the IDE normally prefers original files to transpiled ones ...
Read more >How do I generate sourcemaps when using babel and ...
In order to use source map, you should change devtool option value from true to the value which available in this list ,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The ability to do this was added to
purs ide
in 0.12.1: https://github.com/purescript/purescript/pull/3449Check out the
codegen
parameter in here: https://github.com/purescript/purescript/blob/9446c8bb5f6cd5e74b3f1eb787cfded684391400/psc-ide/PROTOCOL.md#rebuildYou’ll need to thread through the configuration parameter through purs-loader and then things should work with
codegen: ["js", "sourcemaps"]
.Welcome!
On Sun, Jan 20, 2019 at 23:21 Sri Harsha Chilakapati < notifications@github.com> wrote: