From 7bfc5cd671ed4369e51eafbfa118896527a0bf4e Mon Sep 17 00:00:00 2001 From: Daniel Ferro Date: Fri, 10 Nov 2023 13:32:54 -0300 Subject: [PATCH] TODO --- config/webpack.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/webpack.config.js b/config/webpack.config.js index 27bcf4a6..ff889a5f 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -195,7 +195,9 @@ module.exports = function (webpackEnv) { bail: isEnvProduction, // Ignore spurious warnings from source-map-loader // It can't find source maps for some Closure modules and that is expected + // TODO: revert when resolved https://github.com/google/blockly/issues/7124 ignoreWarnings: [/Failed to parse source map/], + // devtool: isEnvProduction ? shouldUseSourceMap ? 'source-map' @@ -564,11 +566,13 @@ module.exports = function (webpackEnv) { ], }, // Include the source maps for Blockly for easier debugging Blockly code. + // TODO: revert when resolved https://github.com/google/blockly/issues/7124 { test: /(blockly\/.*\.js)$/, use: [require.resolve('source-map-loader')], enforce: 'pre', }, + // ].filter(Boolean), }, plugins: [