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

Is there a way to avoid looking node_modules while compiling client? #1882

Open
bhavin-a opened this issue Jul 16, 2022 · 0 comments
Open

Is there a way to avoid looking node_modules while compiling client? #1882

bhavin-a opened this issue Jul 16, 2022 · 0 comments

Comments

@bhavin-a
Copy link

❓Question

Hi

I have set up razzle with babel and when I do a razzle start, the client compilation takes about ~1.3 minutes to complete (its a huge project 😢). What I observed was, it was reading everything from the node_modules folder and the rest of the TS code while compiling the client. Not sure if that is something that is taking the time.

Is there a way to avoid looking into node_modules folder which might speed up the process? What I am assuming is, the node_modules lookup is what is taking the most time. I might be missing something here.

Config

razzle version: 4.0.5
babel version: 7.18.2

Thanks in advance!!

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

No branches or pull requests

1 participant