Import minified js file es63/17/2024 "plugins": īabel-plugin-transform-inline-environment-variables Normally you wouldn't be consuming the plugins directly since the preset is available. The npm package babel-preset-minify is at the path packages/babel-preset-minify Packageīabel-plugin-minify-dead-code-eliminationīabel-plugin-transform-member-expression-literalsīabel-plugin-transform-merge-sibling-variablesīabel-plugin-transform-simplify-comparison-operators It is a lerna monorepo similar to babel itself. The minify repo is comprised of many npm packages. Then you'll need to set the env variable which could be something like BABEL_ENV=production npm run build Individual Plugins
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |