babelify icon indicating copy to clipboard operation
babelify copied to clipboard

Browserify transform for Babel

Results 12 babelify issues
Sort by recently updated
recently updated
newest added

Not working: `.transform(babelify, { global: true, ignore: [/\/node_modules\/(?!app\/)/] })`

so if I use browserify like this: `browserify src/test2.js -o dist/js/test.js -t [ babelify --presets [ @babel/preset-env ] ]` it is completely ignored that I want the polyfill to be...

Hello. This is a follow up to an existing (but closed) issue (#103). I am having the same issue. I've tried the suggestions in #103, but still cannot resolve the...

Got a `if (extensions.indexOf(extname) === -1) { TypeError: extensions.indexOf is not a function` at **babelify/index.js:75** when using Browserify CLI like this: [ babelify --presets [ @babel/preset-env @babel/preset-react ] --extensions [...

@babel/plugin-transform-class-properties is now renamed to @babel/plugin-proposal-class-properties and included into @babel/preset-env preset See https://babeljs.io/docs/en/babel-plugin-proposal-class-properties

A small readme update. The [`ignore`](https://babeljs.io/docs/en/options#ignore) and [`only`](https://babeljs.io/docs/en/options#only) options are regex arrays as of Babel 7.

- just passing a single regex causes errors: - Error: .ignore must be an array, or undefined - Error: .only must be an array, or undefined

Overriding the default extensions (.js, .es, .es6 and .jsx) using cli option `--extensions [ ]` leads to TypeError, reported [here](https://github.com/babel/babelify/issues/278). This commit allows devs to use subarg array instead of...

When using `babelify --extensions [ .ts ] --presets [ @babel/preset-typescript ]` I get a TypeError. ``` TypeError: extensions.indexOf is not a function .../node_modules/babelify/index.js:71:18) ``` Seems like extensions is an object...

This ensures that packages within node_modules that use babelify will resolve babel plugins and presets relative to their own `package.json` file, instead of resolving plugins and presets from the project...