diff --git a/package.json b/package.json index a53766a2c..0ee082b5d 100644 --- a/package.json +++ b/package.json @@ -75,12 +75,12 @@ "babel-preset-es2015": "6.22.0", "babel-preset-react": "6.22.0", "bowser": "1.9.4", - "canvas": "^2.9.0", + "canvas": "2.9.0", "chromedriver": "96.0.0", "classnames": "2.2.5", "cookie": "0.4.1", "copy-webpack-plugin": "4.6.0", - "css-loader": "0.23.1", + "css-loader": "5.2.7", "email-validator": "2.0.4", "enzyme": "3.10.0", "enzyme-adapter-react-16": "1.14.0", @@ -99,7 +99,7 @@ "html-webpack-plugin": "3.2.0", "iso-3166-2": "0.4.0", "jest": "23.6.0", - "jest-canvas-mock": "^2.3.1", + "jest-canvas-mock": "2.3.1", "jest-junit": "12.0.0", "keymirror": "0.1.1", "lodash.bindall": "4.4.0", @@ -108,9 +108,8 @@ "lodash.mergewith": "4.6.2", "lodash.omit": "3.1.0", "lodash.uniqby": "4.7.0", - "mini-css-extract-plugin": "^1.6.2", + "mini-css-extract-plugin": "1.6.2", "minilog": "2.0.8", - "sass": "1.49.7", "pako": "0.2.8", "plotly.js": "1.47.4", "postcss": "8.4.6", @@ -132,6 +131,7 @@ "redux-mock-store": "1.5.4", "redux-thunk": "2.0.1", "regenerator-runtime": "0.13.9", + "sass": "1.49.7", "sass-loader": "10.2.1", "scratch-gui": "0.1.0-prerelease.20220303060838", "scratch-l10n": "3.14.20220303031540", diff --git a/webpack.config.js b/webpack.config.js index 9062bb286..afeffb4da 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -96,7 +96,12 @@ module.exports = { test: /\.scss$/, use: [ MiniCssExtractPlugin.loader, - 'css-loader', + { + loader: 'css-loader', + options: { + url: false + } + }, { loader: 'postcss-loader', options: { @@ -114,7 +119,12 @@ module.exports = { test: /\.css$/, use: [ MiniCssExtractPlugin.loader, - 'css-loader', + { + loader: 'css-loader', + options: { + url: false + } + }, { loader: 'postcss-loader', options: {