Project files

This commit is contained in:
2023-11-09 18:47:11 +01:00
parent 695abe054b
commit c415135aae
8554 changed files with 858111 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
module.exports = [
'@babel/plugin-transform-arrow-functions',
'@babel/plugin-transform-block-scoped-functions',
'@babel/plugin-transform-block-scoping',
'@babel/plugin-transform-classes',
'@babel/plugin-transform-computed-properties',
'@babel/plugin-transform-destructuring',
'@babel/plugin-transform-duplicate-keys',
'@babel/plugin-transform-for-of',
'@babel/plugin-transform-literals',
'@babel/plugin-transform-modules-commonjs',
'@babel/plugin-transform-parameters',
'@babel/plugin-transform-shorthand-properties',
'@babel/plugin-transform-spread',
'@babel/plugin-transform-template-literals',
];

View File

@@ -0,0 +1,7 @@
const { execSync } = require('child_process');
const plugins = require('./babel-plugins');
execSync('babel src --out-dir lib --plugins=' + plugins.join(','), {
env: process.env,
stdio: 'inherit',
});

View File

@@ -0,0 +1,3 @@
require('@babel/register')({
plugins: require('./babel-plugins'),
});