Add usage with import ‘babel-polyfill’ fixture.
This commit is contained in:
parent
e1cb75989f
commit
84c38182ad
@ -0,0 +1 @@
|
||||
import 'babel-polyfill';
|
||||
@ -0,0 +1,11 @@
|
||||
{
|
||||
"presets": [
|
||||
["../../lib", {
|
||||
"debug": true,
|
||||
"targets": {
|
||||
"chrome": 55
|
||||
},
|
||||
"useBuiltIns": "usage"
|
||||
}]
|
||||
]
|
||||
}
|
||||
@ -0,0 +1,2 @@
|
||||
When setting `useBuiltIns: 'usage'`, polyfills are automatically imported when needed.
|
||||
Please remove the `import 'babel-polyfill'` call or use `useBuiltIns: 'entry'` instead.
|
||||
@ -0,0 +1,19 @@
|
||||
babel-preset-env: `DEBUG` option
|
||||
|
||||
Using targets:
|
||||
{
|
||||
"chrome": "55"
|
||||
}
|
||||
|
||||
Using modules transform: commonjs
|
||||
|
||||
Using plugins:
|
||||
syntax-trailing-function-commas { "chrome":"55" }
|
||||
|
||||
Using polyfills with `usage` option:
|
||||
|
||||
When setting `useBuiltIns: 'usage'`, polyfills are automatically imported when needed.
|
||||
Please remove the `import 'babel-polyfill'` call or use `useBuiltIns: 'entry'` instead.
|
||||
|
||||
[index.js] Based on your code and targets, none were added.
|
||||
src/in.js -> lib/in.js
|
||||
Loading…
x
Reference in New Issue
Block a user