source: trip-planner-front/node_modules/@babel/preset-modules/lib/index.js@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[6a3a178]1"use strict";
2
3exports.__esModule = true;
4exports.default = void 0;
5
6var _path = _interopRequireDefault(require("path"));
7
8var _helperPluginUtils = require("@babel/helper-plugin-utils");
9
10function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
12/**
13 * @babel/preset-modules produces clean, minimal output for ES Modules-supporting browsers.
14 * @param {Object} [options]
15 * @param {boolean} [options.loose=false] Loose mode skips seldom-needed transforms that increase output size.
16 */
17var _default = (0, _helperPluginUtils.declare)((api, opts) => {
18 api.assertVersion(7);
19 const loose = opts.loose === true;
20 return {
21 plugins: [_path.default.resolve(__dirname, "./plugins/transform-edge-default-parameters"), _path.default.resolve(__dirname, "./plugins/transform-tagged-template-caching"), _path.default.resolve(__dirname, "./plugins/transform-jsx-spread"), _path.default.resolve(__dirname, "./plugins/transform-safari-for-shadowing"), _path.default.resolve(__dirname, "./plugins/transform-safari-block-shadowing"), _path.default.resolve(__dirname, "./plugins/transform-async-arrows-in-class"), !loose && _path.default.resolve(__dirname, "./plugins/transform-edge-function-name"), // Proposals
22 require.resolve("@babel/plugin-proposal-unicode-property-regex"), require.resolve("@babel/plugin-transform-dotall-regex")].filter(Boolean)
23 };
24});
25
26exports.default = _default;
27module.exports = exports.default;
Note: See TracBrowser for help on using the repository browser.