mh-two-thousand-and-two
2024-04-12 3d2ec2fd0578d3ba0a414b0cc4e4a2ae60878596
1
2
"use strict";var _webpackSources=require("webpack-sources");function SourcemapFixPlugin(o={}){this.options=o}function warpNewLine(o,e){if(/\.js$/.test(o))return new _webpackSources.ConcatSource("\n",e.assets[o])}SourcemapFixPlugin.prototype.apply=function(o){o.hooks.compilation.tap("SourcemapFixPlugin",(function(o){o.hooks.afterOptimizeChunkAssets.tap("SourcemapFixPlugin",(function(e){e.forEach((function(e){e.files.forEach((function(e){const i=warpNewLine(e,o);i&&(o.assets[e]=i)}))}))}))}))},module.exports=SourcemapFixPlugin;
//# sourceMappingURL=sourcemap-fix-plugin.js.map