Initial Save

This commit is contained in:
jackbeeby
2025-03-28 12:30:19 +11:00
parent e381994f19
commit d8773925e8
9910 changed files with 982718 additions and 0 deletions
+16
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',
];
+7
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',
});
+3
View File
@@ -0,0 +1,3 @@
require('@babel/register')({
plugins: require('./babel-plugins'),
});