Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: QuantStack/jupyterlab-blockly
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: [email protected]
Choose a base ref
...
head repository: QuantStack/jupyterlab-blockly
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dc55d717d22a1bfa10db0e57d3f179b542474926
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Apr 26, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    4def374 View commit details
  2. Merge pull request #75 from hbcarlos/source-map

    Ignore blockly source map warnings
    hbcarlos authored Apr 26, 2023
    Copy the full SHA
    dc55d71 View commit details
Showing with 13 additions and 1 deletion.
  1. +13 −1 packages/blockly-extension/webpack.config.js
14 changes: 13 additions & 1 deletion packages/blockly-extension/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
// @ts-check

module.exports = /** @type { import('webpack').Configuration } */ ({
devtool: 'source-map'
devtool: 'source-map',
module: {
rules: [
// Load Blockly source maps.
{
test: /(blockly\/.*\.js)$/,
use: [require.resolve('source-map-loader')],
enforce: 'pre',
}
].filter(Boolean),
},
// https://github.com/google/blockly-samples/blob/9974e85becaa8ad17e35b588b95391c85865dafd/plugins/dev-scripts/config/webpack.config.js#L118-L120
ignoreWarnings: [/Failed to parse source map/]
});