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

fix: should transpile all Vue SFC #5

Merged
merged 1 commit into from
Nov 13, 2024
Merged

fix: should transpile all Vue SFC #5

merged 1 commit into from
Nov 13, 2024

Conversation

chenjiahan
Copy link
Member

By default, Rsbuild only compiles JavaScript files in the current directory and TypeScript and JSX files in all directories. It does not compile JavaScript files under node_modules.

But the scripts from Vue SFC should be always transpiled, adding /\.vue/ to source.include can fix this.

web-infra-dev/rsbuild#3956
web-infra-dev/rsbuild#3964

@chenjiahan chenjiahan merged commit 98a8760 into main Nov 13, 2024
2 checks passed
@chenjiahan chenjiahan deleted the sfc_transpile_1113 branch November 13, 2024 14:37
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.

1 participant