panganibanpj
panganibanpj
It works fine for me in Node, but not in browser
In my case it has something to do with using "babel-preset-env" too. Here's some package.json: ``` "scripts": { "build-fails": "BABEL_ENV=fails babel ./main.js --out-file ./build.js", "build-works": "BABEL_ENV=works babel ./main.js --out-file ./build.js",...
I thought so too but I just tried with a different preset (`babel-preset-stage-3`) in the `env` block and the issue went away. Furthermore, the `transform-undefined-to-void` plugin in the example was...