Skip to content

Use :npm-deps false to speed up Figwheel startup #3932

Closed

Description

Description

Latest version of ClojureScript supports :npm-deps false compiler option.
It might speed up Figwheel start by 20-45 seconds bhauman/lein-figwheel#678
https://twitter.com/mfikes/status/986040242997284865?s=09

Solution

Add npm-deps false compiler option to dev builds. Compile builds for ios and android. Check if it increases Figwheel perfomance.

Twitter
“If you have a ClojureScript project where there also just happens to be a node_modules directory sitting there that ClojureScript itself doesn’t actually use (for example for React Native), :npm-deps false will be your new best friend. (It saves me 20 to 45 seconds of startup.)”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions