From what I understand, Babel is typically used for compiling code, which is why it usually resides in devDependencies.
However, if I incorporate the Babel command into my build script and want to run npm install --only=prod
before running npm run build
during deployment (or within a Dockerfile).
Would it be advisable to transfer Babel and its associated packages like plugins and presets into dependencies?