Skip to content

Commit

Permalink
use latest versions of emotion packages in prod bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Roebuck committed Feb 18, 2021
1 parent 444c512 commit 729516f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 20 deletions.
5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -111,10 +111,13 @@
"@bbc/psammead-useful-links": "3.0.14",
"@bbc/psammead-visually-hidden-text": "2.0.3",
"@bbc/web-vitals": "1.0.2",
"@emotion/cache": "11.0.0",
"@emotion/cache": "11.1.3",
"@emotion/react": "11.1.5",
"@emotion/serialize": "1.0.0",
"@emotion/server": "11.0.0",
"@emotion/sheet": "1.0.1",
"@emotion/styled": "11.1.5",
"@emotion/utils": "1.0.0",
"@loadable/component": "5.14.1",
"@loadable/server": "5.14.2",
"aws-embedded-metrics": "2.0.2",
Expand Down
8 changes: 0 additions & 8 deletions webpack.config.js
Expand Up @@ -48,14 +48,6 @@ module.exports = (shell = {}) => {
'scheduler/tracing': 'scheduler/tracing-profiling',
}),
'safe-buffer': path.resolve(__dirname, 'node_modules/safe-buffer'),
'@emotion/serialize': path.resolve(
__dirname,
'node_modules/@emotion/serialize',
),
'@emotion/utils': path.resolve(
__dirname,
'node_modules/@emotion/utils',
),
},
},
devServer: {
Expand Down
11 changes: 0 additions & 11 deletions yarn.lock
Expand Up @@ -1668,17 +1668,6 @@
source-map "^0.5.7"
stylis "^4.0.3"

"@emotion/cache@11.0.0":
version "11.0.0"
resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-11.0.0.tgz#473adcaf9e04c6a0e30fb1421e79a209a96818f8"
integrity sha512-NStfcnLkL5vj3mBILvkR2m/5vFxo3G0QEreYKDGHNHm9IMYoT/t3j6xwjx6lMI/S1LUJfVHQqn0m9wSINttTTQ==
dependencies:
"@emotion/memoize" "^0.7.4"
"@emotion/sheet" "^1.0.0"
"@emotion/utils" "^1.0.0"
"@emotion/weak-memoize" "^0.2.5"
stylis "^4.0.3"

"@emotion/cache@^10.0.27", "@emotion/cache@^10.0.9":
version "10.0.29"
resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-10.0.29.tgz#87e7e64f412c060102d589fe7c6dc042e6f9d1e0"
Expand Down

0 comments on commit 729516f

Please sign in to comment.