diff --git a/packages/haul-ram-bundle-webpack-plugin/src/IndexRamBundle.ts b/packages/haul-ram-bundle-webpack-plugin/src/IndexRamBundle.ts index 06b0420d..4a9c6a8c 100644 --- a/packages/haul-ram-bundle-webpack-plugin/src/IndexRamBundle.ts +++ b/packages/haul-ram-bundle-webpack-plugin/src/IndexRamBundle.ts @@ -114,11 +114,10 @@ export default class IndexRamBundle { }); lineOffset += countLines(sourceModule.source); - - compilation.assets[sourceMapFilename] = new RawSource( - JSON.stringify(indexMap) - ); }); + compilation.assets[sourceMapFilename] = new RawSource( + JSON.stringify(indexMap) + ); } } }