When using the Rollup plugin, Rollup generates a warning about broken source maps. The condition in the plugin seems to be incorrect, when I change it to if (true), the warning described below disappears. The Rollup wiki says that plugins that transform source code should generate source maps automatically, so I wonder if we should remove the condition altogether.
Clone my VS Code extension sample repo, restore the packages and build it with dotnet fable yarn-run build.
(!) Broken sourcemap
https://github.com/rollup/rollup/wiki/Troubleshooting#sourcemap-is-likely-to-be-incorrect
Plugins that transform code (such as 'fable') should generate accompanying sourcemaps
dotnet fable --version): 1.2.0You're right, probably it's a good idea to remove the condition for the Rollup plugin, could you please send a PR? Thanks a lot in advance!
See #1142.
rollup-plugin-fable 1.1.1 published :+1:
Yes, I already updated my packages and the warning is gone. Thanks!
Most helpful comment
Yes, I already updated my packages and the warning is gone. Thanks!