You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
479 B
JavaScript
26 lines
479 B
JavaScript
6 years ago
|
"use strict";
|
||
|
|
||
6 years ago
|
// @babel/core
|
||
|
const babelOptions = {
|
||
7 years ago
|
"comments": false,
|
||
|
"compact": false,
|
||
|
"presets": [
|
||
|
[
|
||
6 years ago
|
"@babel/preset-env",
|
||
7 years ago
|
{
|
||
|
"modules": false,
|
||
|
"targets": {
|
||
6 years ago
|
"ie": 11
|
||
7 years ago
|
}
|
||
|
}
|
||
|
]
|
||
|
]
|
||
6 years ago
|
};
|
||
6 years ago
|
|
||
|
// rollup-plugin-babel
|
||
|
babelOptions.babelrc = false;
|
||
|
babelOptions.exclude = "node_modules/**";
|
||
|
babelOptions.runtimeHelpers = true;
|
||
|
|
||
|
module.exports = babelOptions;
|