seanmorris / php-wasm

PHP in Browser, powered by WebAssembly.
https://seanmorris.github.io/php-wasm/
Apache License 2.0
606 stars 32 forks source link

move babel dependencies into `devDependencies` #39

Open danielegarciav opened 3 months ago

danielegarciav commented 3 months ago

babel dependencies are only needed at build time and not needed by users of this library.

if left in "dependencies", users of the library are forced to download about 109 unused transitive dependencies.

danielegarciav commented 3 months ago

I see this package can be installed globally as a CLI to build itself for different environments, and converting babel dependencies into dev dependencies might or might not break this functionality. Will have to check...