Skip to content

Commit a6f6e60

Browse files
committed
🔁: do not apply compact babel transform for lively module transform
It appears it breaks the source maps on the per module basis.
1 parent a9c1713 commit a6f6e60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lively.source-transform/babel/plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1391,7 +1391,7 @@ export function setupBabelTranspiler (System) {
13911391
transpiler: 'lively.transpiler.babel',
13921392
babelOptions: {
13931393
sourceMaps: true,
1394-
compact: true, // since we enable source maps, we can also compact
1394+
compact: false, // for some reason, the compact options messes up the source maps on a per module basis
13951395
comments: false,
13961396
presets: []
13971397
}

0 commit comments

Comments
 (0)