Skip to content

Commit 5f16931

Browse files
committed
chore(changeset): clarify breaking changes for imports/styles/unplugin and Node/PNPM requirements
1 parent 914aba6 commit 5f16931

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.changeset/v3-major.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,8 @@ BREAKING CHANGES:
1818

1919
- `useCodeExecution` effect behavior stabilized; consumers relying on previous implicit re-execution may need to explicitly update `code` or pass `dependencies`
2020
- Package structure reorganized across `packages/*`; import paths may need updates according to exports
21+
22+
- Imports: `CodeView` is now also a default export in `@react-code-view/react` and re-exported by `react-code-view`; prefer `import CodeView from 'react-code-view'` or adjust named imports accordingly
23+
- Styles: Less entries were removed; switch to `import 'react-code-view/styles'` and optional `import 'react-code-view/styles/highlight'`
24+
- Build integration: Legacy `webpack-md-loader` is removed; migrate to unified `@react-code-view/unplugin` for Vite/Webpack/Rollup/esbuild/Rspack
25+
- Tooling: Minimum requirements updated to Node >=18 and PNPM >=8 for the monorepo/dev workflow

0 commit comments

Comments
 (0)