Skip to content
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

Updated code transpilation for Next.js 13.1 or higher in readme file #528

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

linkfang
Copy link

@linkfang linkfang commented Feb 1, 2023

Regarding to next-transpile-modules package description on npm and docs on Next.js, updated code transpilation for Next.js 13.1 or higher in readme file.

All features of next-transpile-modules are now natively built-in Next.js 13.1. Please use Next's transpilePackages option

Created issue529 to track the status.

Thanks!

@@ -220,6 +220,21 @@ import 'echarts/lib/component/title';

For **Next.js** user, code transpilation is needed.

For Next.js 13.1 or higher, as all `next-transpile-modules` features are natively built-in and the package has been deprecated, so please add `transpilePackages: ['echarts', 'zrender']` into `nextConfig` object:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep with previous line.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I don't quite understand the request.
Did you mean bold Next.js 13.1 or higher with **?
Like,

For **Next.js 13.1 or higher**, as all ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants