A liferay-npm-bundler plugin to tweak source maps after the build.
npm install --save-dev liferay-npm-bundler-plugin-tweak-sourcemaps
Add the following to your .npmbundlerrc
file:
Without options:
{
"*": {
"plugins": ["tweak-sourcemaps"]
}
}
This plugin rewrites the sources
field of project's source maps (but not
those of third party dependencies) as explained in
this issue.