-
#### Input Code
```js
const foo = "foo";
const bar = `asdf ${foo} asd ${foo}`
```
[Babel REPL link](https://babeljs.io/repl#?babili=true&browsers=&build=&builtIns=false&code_lz=MYewdgzgLg…
-
http://babeljs.io/blog/2015/10/29/6.0.0
-
**Describe the bug**
babel-minify sometimes eliminates a scope (i.e. pairs of braces, e.g. `{ ... }`) when it is unsafe to do so, resulting in broken code.
**To Reproduce**
```js
{
cons…
-
I have `BABEL_DISABLE_CACHE=1` set and I've tried setting `cacheDirectory: false` and neither option helps (as expected since the comment is missing from the output).
.babelrc contents:
```json
{…
-
I am using this in a medium large React project as part of the Webpack flow. For compression we are using the Babili-Webpack-Plugin. As this is just a small wrapper around Babili I figure the followin…
-
## Is this a bug report or a feature request?
Bug
## Version Info
- Version of Majestic: 1.2.23
- Version of Jest: 24.5.0
- Version of Node: 8.11.2
- Operating System: Windows
## Reproduc…
-
I'm using `ember-cli` 2.13.3 and `ember-cli-babili`.
When I launch `ember serve` everything is ok in both Safari latest and Safari Technology preview and Chrome.
But in production mode with: `em…
ghost updated
7 years ago
-
Looks like modern browsers now have nearly perfect ES2015/ES6 support, so we could remove the ES2015 preset from Babel for modern browsers?
See: http://kangax.github.io/compat-table/es6/
samhh updated
7 years ago
-
Ran into this while fixing some Babili issues.
https://astexplorer.net/#/GbUDVxRZlD
### Input Code
```js
var a;
if (typeof a === "") {
a;
}
```
### Expected Behavior
Should not thr…
-
Validate the entire tree of options passed to preset.
Maybe, each plugin can export a list of options that only babili preset understands and we can validate them only when using the preset and not…