Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina committed Nov 27, 2024
1 parent 19cd949 commit 6203409
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .changeset/violet-walls-cover.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
'nextra': minor
---

compile `nextra/components`, `nextra/hooks` and `nextra-theme-blog` source code with react-compiler
compile `nextra/components`, `nextra/hooks`, `nextra-theme-docs` and `nextra-theme-blog` source code with react-compiler
5 changes: 1 addition & 4 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,7 @@ module.exports = {
files: ['packages/**'],
plugins: ['eslint-plugin-react-compiler'],
rules: {
'no-restricted-imports': [
'error',
REACT_COMPILER_RESTRICT
],
'no-restricted-imports': ['error', REACT_COMPILER_RESTRICT],
'react-compiler/react-compiler': 'error'
}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/nextra-theme-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@
"zustand": "^5.0.1"
},
"devDependencies": {
"esbuild-react-compiler-plugin": "workspace:*",
"@tailwindcss/postcss": "^4.0.0-beta.2",
"@testing-library/react": "^16.0.0",
"@types/react": "^18.2.23",
"@vitejs/plugin-react": "^4.1.0",
"esbuild-react-compiler-plugin": "workspace:*",
"jsdom": "^25.0.0",
"next": "^15.0.2",
"nextra": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/nextra-theme-docs/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { reactCompilerPlugin } from 'esbuild-react-compiler-plugin'
import { defineConfig } from 'tsup'
import packageJson from './package.json'
import { reactCompilerPlugin } from 'esbuild-react-compiler-plugin'

export const defaultEntry = [
'src/**/*.{ts,tsx}',
Expand Down

0 comments on commit 6203409

Please sign in to comment.