Skip to content

Commit

Permalink
fix(deps): Upgrade css-loader & remove work around (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltaranto authored and mattcompiles committed Aug 12, 2019
1 parent 39be344 commit 3d3832d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 56 deletions.
48 changes: 0 additions & 48 deletions config/webpack/utils/getIdentName.js

This file was deleted.

2 changes: 0 additions & 2 deletions config/webpack/utils/loaders.js
Expand Up @@ -3,7 +3,6 @@ const { isProductionBuild, isCI } = require('./env');
const isTypeScript = require('../../../lib/isTypeScript');
const { resolvePackage } = require('./resolvePackage');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const getLocalIdent = require('./getIdentName');

/**
* e.g.
Expand Down Expand Up @@ -73,7 +72,6 @@ const makeCssLoaders = (options = {}) => {
modules: {
mode: 'local',
localIdentName: `${debugIdent}[hash:base64:7]`,
getLocalIdent,
},

// On the server, avoid generating a CSS file with onlyLocals.
Expand Down
3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -106,7 +106,7 @@
"chalk": "^2.4.2",
"command-line-args": "^5.1.1",
"cross-spawn": "^6.0.5",
"css-loader": "^3.1.0",
"css-loader": "^3.2.0",
"css-modules-typescript-loader": "1.1.1",
"cssnano": "^4.1.10",
"death": "^1.1.0",
Expand Down Expand Up @@ -135,7 +135,6 @@
"kopy": "8.3.1",
"less": "^3.9.0",
"less-loader": "^5.0.0",
"loader-utils": "^1.2.3",
"lodash": "^4.17.15",
"memoizee": "^0.4.14",
"mini-css-extract-plugin": "^0.8.0",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -5074,10 +5074,10 @@ css-loader@^2.1.0, css-loader@^2.1.1:
postcss-value-parser "^3.3.0"
schema-utils "^1.0.0"

css-loader@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-3.1.0.tgz#6f008b993b8ce812e6bab57f3cbfdc7a7cf28685"
integrity sha512-MuL8WsF/KSrHCBCYaozBKlx+r7vIfUaDTEreo7wR7Vv3J6N0z6fqWjRk3e/6wjneitXN1r/Y9FTK1psYNOBdJQ==
css-loader@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-3.2.0.tgz#bb570d89c194f763627fcf1f80059c6832d009b2"
integrity sha512-QTF3Ud5H7DaZotgdcJjGMvyDj5F3Pn1j/sC6VBEOVp94cbwqyIBdcs/quzj4MC1BKQSrTpQznegH/5giYbhnCQ==
dependencies:
camelcase "^5.3.1"
cssesc "^3.0.0"
Expand Down

0 comments on commit 3d3832d

Please sign in to comment.