Skip to content

Commit

Permalink
TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
danielferro69 committed Nov 10, 2023
1 parent 7c13934 commit 7bfc5cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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: [
Expand Down

0 comments on commit 7bfc5cd

Please sign in to comment.