Skip to content

Feature/emotion #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jan 12, 2020
Prev Previous commit
Next Next commit
setup customer-cra
  • Loading branch information
ShMcK committed Jan 12, 2020
commit 7f275bf360d7531a535d150af314095808bc7975
7 changes: 7 additions & 0 deletions web-app/config-overrides.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
const { addLessLoader, addBabelPreset } = require('customize-cra')

module.exports = function override(config) {
addBabelPreset('@emotion/babel-preset-css-prop')(config)

return config
}
75 changes: 69 additions & 6 deletions web-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions web-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,15 @@
"@typescript-eslint/eslint-plugin": "^2.15.0",
"@typescript-eslint/parser": "^2.15.0",
"babel-loader": "8.0.5",
"babel-plugin-emotion": "^10.0.27",
"babel-plugin-import": "^1.12.1",
"customize-cra": "^0.9.1",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-prettier": "^3.1.2",
"node-sass": "^4.13.0",
"prettier": "^1.19.1",
"react-app-rewired": "^2.1.5",
"react-scripts": "^3.3.0",
"sass-loader": "^8.0.0",
"typescript-eslint-parser": "^22.0.0"
Expand Down