eclipse-theia / theia

Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
http://theia-ide.org
Eclipse Public License 2.0
19.87k stars 2.49k forks source link

Align devtool in gen-webpack.config.js and gen-webpack.node.config.js #13915

Open meisenbarth-work opened 2 months ago

meisenbarth-work commented 2 months ago

The devtool settings are different for frontend and backend. In the newer backend bundling the source maps are omitted in production build. Frontend bundling creates source maps also in production build.

devtool: mode === 'development' ? 'source-map' : false, <-> devtool: 'source-map',

Originally posted by @meisenbarth-work in https://github.com/eclipse-theia/theia/discussions/13914

JonasHelming commented 1 month ago

@meisenbarth-work Thank you for the report. Are you interested in a contribution?