Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/queuepro/node_modules/@babel/preset-modules/src/ drwxrwxr-x | |
| Viewing file: Select action/file-type: import path from "path";
import { declare } from "@babel/helper-plugin-utils";
/**
* @babel/preset-modules produces clean, minimal output for ES Modules-supporting browsers.
* @param {Object} [options]
* @param {boolean} [options.loose=false] Loose mode skips seldom-needed transforms that increase output size.
*/
export default declare((api, opts) => {
api.assertVersion(7);
const loose = opts.loose === true;
return {
plugins: [
path.resolve(__dirname, "./plugins/transform-edge-default-parameters"),
path.resolve(__dirname, "./plugins/transform-tagged-template-caching"),
path.resolve(__dirname, "./plugins/transform-jsx-spread"),
path.resolve(__dirname, "./plugins/transform-safari-for-shadowing"),
path.resolve(__dirname, "./plugins/transform-safari-block-shadowing"),
path.resolve(__dirname, "./plugins/transform-async-arrows-in-class"),
!loose &&
path.resolve(__dirname, "./plugins/transform-edge-function-name"),
// Proposals
require.resolve("@babel/plugin-proposal-unicode-property-regex"),
require.resolve("@babel/plugin-transform-dotall-regex"),
].filter(Boolean),
};
});
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0056 ]-- |