Skip to content

Commit 0592424

Browse files
committed
fix: Disable input sourcemaps to prevent breakage in Bazel
Enabling input sourcemaps in the rollup configuration was causing sourcemaps to break when building with Bazel. This commit disables in the options to resolve the issue.
1 parent b97a21c commit 0592424

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/ng_package/rollup/rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ function removeCommentsPlugin() {
3030
const result = transformSync(code, {
3131
filename: id,
3232
comments: true,
33+
inputSourceMap: false, // Enabling input sourcemaps causes sourcemaps to break.
3334
sourceMaps: true,
3435
generatorOpts: {
3536
shouldPrintComment: comment => {

0 commit comments

Comments
 (0)