Skip to content

refactor: migrate from babel to SWC#3

Open
momesana wants to merge 1 commit into
mainfrom
migrate-from-babel-to-swc
Open

refactor: migrate from babel to SWC#3
momesana wants to merge 1 commit into
mainfrom
migrate-from-babel-to-swc

Conversation

@momesana

@momesana momesana commented Jun 10, 2023

Copy link
Copy Markdown
Owner

No description provided.

@momesana
momesana requested a review from tindzk June 10, 2023 16:16
@momesana
momesana force-pushed the migrate-from-babel-to-swc branch from 96128cf to 1c68ac3 Compare June 10, 2023 16:39
Comment thread webpack.config.mjs
@@ -64,18 +64,11 @@ function webpackConfig(_env, { mode = "development" }) {
module: {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I thought webpack was not needed anymore.

@momesana momesana Sep 25, 2023

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

what should webpack not be needed anymore? Webpack is the bundler. Babel which is being replaced here is the transpiler. Once turbopack supports anything other than next.js or swcpack becomes usable, we can switch to those. Until then we are stuck with webpack or vite. Also snowpack is dead.

Comment thread .gitignore
@@ -1,3 +1,5 @@
node_modules

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Add trailing slashes where appropriate (node_modules/, generated/, .swc/ etc.)

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