A monorepo containing jupyter-blocks and jupyter-tidyblocks. Blockly extension for JupyterLab.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #75 from hbcarlos/source-map

Ignore blockly source map warnings

authored by

Carlos Herrero and committed by
GitHub
dc55d717 7b315d5d

+13 -1
+13 -1
packages/blockly-extension/webpack.config.js
··· 1 1 // @ts-check 2 2 3 3 module.exports = /** @type { import('webpack').Configuration } */ ({ 4 - devtool: 'source-map' 4 + devtool: 'source-map', 5 + module: { 6 + rules: [ 7 + // Load Blockly source maps. 8 + { 9 + test: /(blockly\/.*\.js)$/, 10 + use: [require.resolve('source-map-loader')], 11 + enforce: 'pre', 12 + } 13 + ].filter(Boolean), 14 + }, 15 + // https://github.com/google/blockly-samples/blob/9974e85becaa8ad17e35b588b95391c85865dafd/plugins/dev-scripts/config/webpack.config.js#L118-L120 16 + ignoreWarnings: [/Failed to parse source map/] 5 17 });