Skip to content

Commit

Permalink
feat: re-enabling compiler.emotion
Browse files Browse the repository at this point in the history
  • Loading branch information
mwskwong committed Aug 20, 2023
1 parent 64e9cbc commit f4092af
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 59 deletions.
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const withBundleAnalyzer = require("@next/bundle-analyzer")({
/** @type {import("next").NextConfig} */
const nextConfig = {
compiler: {
emotion: true,
removeConsole: process.env.NODE_ENV === "production" && {
exclude: ["error"],
},
Expand Down
112 changes: 56 additions & 56 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"contentful": "^10.4.2",
"lodash-es": "^4.17.21",
"merge-sx": "^1.3.1",
"next": "^13.4.19",
"next": "canary",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.45.4",
Expand All @@ -30,7 +30,7 @@
"zod": "^3.22.2"
},
"devDependencies": {
"@next/bundle-analyzer": "^13.4.19",
"@next/bundle-analyzer": "canary",
"@svgr/webpack": "^8.1.0",
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
"@types/lodash-es": "^4.17.8",
Expand All @@ -40,7 +40,7 @@
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"eslint": "^8.47.0",
"eslint-config-next": "^13.4.19",
"eslint-config-next": "canary",
"eslint-config-prettier": "^9.0.0",
"prettier": "^3.0.2",
"schema-dts": "^1.1.2",
Expand Down

0 comments on commit f4092af

Please sign in to comment.