interface: disable source maps on production builds
Source maps have never worked correctly on production builds, and the
way that they are bundled into the JS itself negatively impacts our time
to first paint. As such, we disable them for a significant bundle size
improvement (10MB -> 2.4MB)
@@ -41,7 +41,7 @@ module.exports = {
resolve: {
extensions: ['.js', '.ts', '.tsx']
},
- devtool: 'inline-source-map',
+ devtool: 'none',
// devServer: {
// contentBase: path.join(__dirname, './'),
// hot: true,
