-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
If you use one of the non-lodash stdlib methods like looseEq
the AST transforms automatically import babel-plugin-lightscript
into the final code.
Since babel plugins are devDependencies
100% of the time in the current ecosystem, I don't think most people will realize that they need babel-plugin-lightscript
as a dependency
rather than a devDependency
which means their app may crash when NODE_ENV="production"
. And I'm not sure making a Babel plugin into a dependency
is a good idea even if it is well documented that you need it.
Would you consider just inlining the builtin stdlib methods using AST transforms since they are all oneliners anyway?
Metadata
Metadata
Assignees
Labels
No labels