Skip to content

Commit

Permalink
Downgrade styled-jsx (vercel/styled-jsx#695)
Browse files Browse the repository at this point in the history
Upgrade some other build deps
  • Loading branch information
jacobmischka committed Jan 22, 2021
1 parent 3e55df7 commit e1b187b
Show file tree
Hide file tree
Showing 9 changed files with 1,169 additions and 1,159 deletions.
11 changes: 0 additions & 11 deletions .babelrc

This file was deleted.

11 changes: 11 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"presets": [
"@babel/preset-flow",
"@babel/preset-react",
["@babel/preset-env", { "modules": false }]
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"styled-jsx/babel"
]
}
60 changes: 0 additions & 60 deletions flow-typed/npm/styled-jsx-postcss_vx.x.x.js

This file was deleted.

31 changes: 16 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,24 +71,24 @@
"react-router": "^4.0.0",
"react-router-dom": "^4.0.0",
"striptags": "^3.1.1",
"styled-jsx": "^3.4.1",
"styled-jsx": "3.3.2",
"typeface-noto-sans": "^0.0.54"
},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/plugin-external-helpers": "^7.12.1",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.12.11",
"@babel/preset-flow": "^7.12.1",
"@babel/preset-react": "^7.12.10",
"apply-loader": "^2.0.0",
"autoprefixer": "^8.6.3",
"babel-cli": "^6.23.0",
"babel-core": "^6.18.2",
"babel-eslint": "^8.0.0",
"babel-loader": "^7.1.1",
"babel-plugin-array-includes": "^2.0.3",
"babel-plugin-external-helpers": "^6.22.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-polyfill": "^6.16.0",
"babel-preset-es2015": "^6.18.0",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.16.0",
"classlist-polyfill": "^1.0.3",
"core-js": "^3.8.3",
"css-loader": "^0.28.0",
"element-dataset": "^2.2.2",
"es6-promise": "^4.0.5",
Expand All @@ -103,12 +103,13 @@
"nodemon": "^1.11.0",
"npm-run-all": "^4.0.1",
"raf": "^3.3.2",
"rollup": "^1.7.4",
"rollup-plugin-babel": "^3.0.2",
"regenerator-runtime": "^0.13.7",
"rollup": "^2.38.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-buble": "^0.19.2",
"rollup-plugin-commonjs": "^9.1.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^4.0.1",
"rollup-plugin-node-resolve": "^5.2.0",
"style-loader": "^0.21.0",
"url-search-params-polyfill": "^4.0.0",
"webpack": "^4.12.0",
Expand Down
1 change: 0 additions & 1 deletion rollup.config.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export default {
commonjs(),
babel({
exclude: 'node_modules/**',
plugins: ['external-helpers']
}),
nodeResolve({
jsnext: true
Expand Down
1 change: 0 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export default {
json(),
babel({
exclude: 'node_modules/**',
plugins: ['external-helpers']
})
],
external: [
Expand Down
1 change: 0 additions & 1 deletion rollup.config.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export default {
commonjs(),
babel({
exclude: 'node_modules/**',
plugins: ['external-helpers']
})
],
external: [
Expand Down
3 changes: 2 additions & 1 deletion src/web.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'babel-polyfill';
import 'core-js/stable';
import 'regenerator-runtime/runtime';
import 'es6-promise';
import 'whatwg-fetch';
import 'classlist-polyfill';
Expand Down
Loading

0 comments on commit e1b187b

Please sign in to comment.