pegjs/tools/bundle/babelOptions.js

26 lines
479 B
JavaScript
Raw Normal View History

2018-09-10 05:57:12 +02:00
"use strict";
2018-11-04 08:03:59 +01:00
// @babel/core
const babelOptions = {
2018-01-02 03:08:50 +01:00
"comments": false,
"compact": false,
"presets": [
[
2018-09-05 09:03:51 +02:00
"@babel/preset-env",
2018-01-02 03:08:50 +01:00
{
"modules": false,
"targets": {
"ie": 11
2018-01-02 03:08:50 +01:00
}
}
]
]
2018-09-10 05:57:12 +02:00
};
2018-11-04 08:03:59 +01:00
// rollup-plugin-babel
babelOptions.babelrc = false;
babelOptions.exclude = "node_modules/**";
babelOptions.runtimeHelpers = true;
module.exports = babelOptions;