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
I'm trying to disable source maps on production. Whats the best way to do this? I already tried this in webpack.publisher.js (which im using) by adding this line to the publisherConfig: devtool: "hidden-nosources-source-map" but no luck.
In my package.json im calling a script with the following value : webpack --config webpack.publisher.js && node dist/publisher/index.js to create the html pages.
Expected behavior
No source maps on our environment
Is your portal managed or self-hosted?
Self-hosted
Release tag or commit SHA (if using self-hosted version)
2.24.0
API Management service name
no
Environment
Operating system: Windows
Browser: Chrome / Edge
Version: latest
Additional context
sources are avaiable through the browser devtools:
The text was updated successfully, but these errors were encountered:
Bug description
I'm trying to disable source maps on production. Whats the best way to do this? I already tried this in
webpack.publisher.js
(which im using) by adding this line to thepublisherConfig
:devtool: "hidden-nosources-source-map"
but no luck.In my package.json im calling a script with the following value :
webpack --config webpack.publisher.js && node dist/publisher/index.js
to create the html pages.Expected behavior
No source maps on our environment
Is your portal managed or self-hosted?
Self-hosted
Release tag or commit SHA (if using self-hosted version)
2.24.0
API Management service name
no
Environment
Additional context
sources are avaiable through the browser devtools:
The text was updated successfully, but these errors were encountered: