mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
update css-loader to 5.2.7
Update webpack config to not resolve urls to remain compatible with previous version Highest version before requiring Webpack 5 clean up package.json
This commit is contained in:
parent
879aadb9c5
commit
826ea6239f
2 changed files with 17 additions and 7 deletions
10
package.json
10
package.json
|
@ -75,12 +75,12 @@
|
||||||
"babel-preset-es2015": "6.22.0",
|
"babel-preset-es2015": "6.22.0",
|
||||||
"babel-preset-react": "6.22.0",
|
"babel-preset-react": "6.22.0",
|
||||||
"bowser": "1.9.4",
|
"bowser": "1.9.4",
|
||||||
"canvas": "^2.9.0",
|
"canvas": "2.9.0",
|
||||||
"chromedriver": "96.0.0",
|
"chromedriver": "96.0.0",
|
||||||
"classnames": "2.2.5",
|
"classnames": "2.2.5",
|
||||||
"cookie": "0.4.1",
|
"cookie": "0.4.1",
|
||||||
"copy-webpack-plugin": "4.6.0",
|
"copy-webpack-plugin": "4.6.0",
|
||||||
"css-loader": "0.23.1",
|
"css-loader": "5.2.7",
|
||||||
"email-validator": "2.0.4",
|
"email-validator": "2.0.4",
|
||||||
"enzyme": "3.10.0",
|
"enzyme": "3.10.0",
|
||||||
"enzyme-adapter-react-16": "1.14.0",
|
"enzyme-adapter-react-16": "1.14.0",
|
||||||
|
@ -99,7 +99,7 @@
|
||||||
"html-webpack-plugin": "3.2.0",
|
"html-webpack-plugin": "3.2.0",
|
||||||
"iso-3166-2": "0.4.0",
|
"iso-3166-2": "0.4.0",
|
||||||
"jest": "23.6.0",
|
"jest": "23.6.0",
|
||||||
"jest-canvas-mock": "^2.3.1",
|
"jest-canvas-mock": "2.3.1",
|
||||||
"jest-junit": "12.0.0",
|
"jest-junit": "12.0.0",
|
||||||
"keymirror": "0.1.1",
|
"keymirror": "0.1.1",
|
||||||
"lodash.bindall": "4.4.0",
|
"lodash.bindall": "4.4.0",
|
||||||
|
@ -108,9 +108,8 @@
|
||||||
"lodash.mergewith": "4.6.2",
|
"lodash.mergewith": "4.6.2",
|
||||||
"lodash.omit": "3.1.0",
|
"lodash.omit": "3.1.0",
|
||||||
"lodash.uniqby": "4.7.0",
|
"lodash.uniqby": "4.7.0",
|
||||||
"mini-css-extract-plugin": "^1.6.2",
|
"mini-css-extract-plugin": "1.6.2",
|
||||||
"minilog": "2.0.8",
|
"minilog": "2.0.8",
|
||||||
"sass": "1.49.7",
|
|
||||||
"pako": "0.2.8",
|
"pako": "0.2.8",
|
||||||
"plotly.js": "1.47.4",
|
"plotly.js": "1.47.4",
|
||||||
"postcss": "8.4.6",
|
"postcss": "8.4.6",
|
||||||
|
@ -132,6 +131,7 @@
|
||||||
"redux-mock-store": "1.5.4",
|
"redux-mock-store": "1.5.4",
|
||||||
"redux-thunk": "2.0.1",
|
"redux-thunk": "2.0.1",
|
||||||
"regenerator-runtime": "0.13.9",
|
"regenerator-runtime": "0.13.9",
|
||||||
|
"sass": "1.49.7",
|
||||||
"sass-loader": "10.2.1",
|
"sass-loader": "10.2.1",
|
||||||
"scratch-gui": "0.1.0-prerelease.20220303060838",
|
"scratch-gui": "0.1.0-prerelease.20220303060838",
|
||||||
"scratch-l10n": "3.14.20220303031540",
|
"scratch-l10n": "3.14.20220303031540",
|
||||||
|
|
|
@ -96,7 +96,12 @@ module.exports = {
|
||||||
test: /\.scss$/,
|
test: /\.scss$/,
|
||||||
use: [
|
use: [
|
||||||
MiniCssExtractPlugin.loader,
|
MiniCssExtractPlugin.loader,
|
||||||
'css-loader',
|
{
|
||||||
|
loader: 'css-loader',
|
||||||
|
options: {
|
||||||
|
url: false
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
loader: 'postcss-loader',
|
loader: 'postcss-loader',
|
||||||
options: {
|
options: {
|
||||||
|
@ -114,7 +119,12 @@ module.exports = {
|
||||||
test: /\.css$/,
|
test: /\.css$/,
|
||||||
use: [
|
use: [
|
||||||
MiniCssExtractPlugin.loader,
|
MiniCssExtractPlugin.loader,
|
||||||
'css-loader',
|
{
|
||||||
|
loader: 'css-loader',
|
||||||
|
options: {
|
||||||
|
url: false
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
loader: 'postcss-loader',
|
loader: 'postcss-loader',
|
||||||
options: {
|
options: {
|
||||||
|
|
Loading…
Reference in a new issue