steveblue / angular2-rollup

CLI for bundling Angular with Rollup and Closure Compiler
121 stars 18 forks source link

Sourcemaps fail when using different environment in dev build #23

Closed steveblue closed 6 years ago

steveblue commented 6 years ago
DevTools failed to parse SourceMap: http://localhost:4200/environments/environment.prod.js.map

The build is merely copying and replacing the environment files and not compiling them, so part of the script should manipulate the sourceMappingURL when it reaches the dist folder.

//# sourceMappingURL=environment.prod.js.map

steveblue commented 6 years ago

Fixed in 2.0.0-rc.6