You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a security purpose, we'd like to build the source map file to an different path. Like this: /css/main.css => /src-map-files/main.css.map
As to js files, by source-map-dev-tool-plugin, we can set a filename option to resolve this:
For a security purpose, we'd like to build the source map file to an different path. Like this:
/css/main.css
=>/src-map-files/main.css.map
As to js files, by source-map-dev-tool-plugin, we can set a
filename
option to resolve this:It is implemented in this file
node_modules/webpack/lib/SourceMapDevToolPlugin.js
:I read the source code of optimize-css-assets-webpack-plugin, I found the target assets name is fixed:
How can we set source map target file name to a different path? Will you implement this
filename
option in the future?The text was updated successfully, but these errors were encountered: