Skip to content

Commit

Permalink
Merge pull request desktop#14772 from desktop/bump-more-build-deps
Browse files Browse the repository at this point in the history
Bump css-loader, file-loader and style-loader
  • Loading branch information
sergiou87 authored Jun 15, 2022
2 parents a95da87 + 6b3a5f4 commit 46cb714
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 180 deletions.
12 changes: 10 additions & 2 deletions app/webpack.development.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ const rendererConfig = merge({}, common.renderer, config, {
// as a blob:// uri at runtime.
{
test: /\.(scss|css)$/,
use: ['style-loader', 'css-loader?sourceMap', 'sass-loader?sourceMap'],
use: [
'style-loader',
{ loader: 'css-loader', options: { sourceMap: true } },
'sass-loader?sourceMap',
],
},
],
},
Expand All @@ -72,7 +76,11 @@ const crashConfig = merge({}, common.crash, config, {
// as a blob:// uri at runtime.
{
test: /\.(scss|css)$/,
use: ['style-loader', 'css-loader?sourceMap', 'sass-loader?sourceMap'],
use: [
'style-loader',
{ loader: 'css-loader', options: { sourceMap: true } },
'sass-loader?sourceMap',
],
},
],
},
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"azure-storage": "^2.10.4",
"chalk": "^2.2.0",
"cross-env": "^5.0.5",
"css-loader": "^2.1.0",
"css-loader": "^6.7.1",
"eslint": "^7.3.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-jsdoc": "^37.7.0",
Expand All @@ -73,7 +73,7 @@
"eslint-plugin-react": "7.26.1",
"express": "^4.15.0",
"fake-indexeddb": "^2.0.4",
"file-loader": "^2.0.0",
"file-loader": "^6.2.0",
"front-matter": "^2.3.0",
"fs-extra": "^9.0.1",
"glob": "^7.1.2",
Expand All @@ -94,7 +94,7 @@
"sass-loader": "^10.0.3",
"semver": "^5.5.0",
"split2": "^3.2.2",
"style-loader": "^0.21.0",
"style-loader": "^3.3.1",
"to-camel-case": "^1.0.0",
"ts-jest": "^26.4.4",
"ts-loader": "^9",
Expand Down
Loading

0 comments on commit 46cb714

Please sign in to comment.