initial commit

This commit is contained in:
felix
2026-09-16 17:16:19 +02:00
commit d120237521
80 changed files with 26582 additions and 0 deletions

46
babel.config.mjs Normal file
View File

@@ -0,0 +1,46 @@
import { dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
import {
babelCompatSupport,
templateCompatSupport,
} from '@embroider/compat/babel';
export default {
plugins: [
[
'babel-plugin-ember-template-compilation',
{
enableLegacyModules: [
'ember-cli-htmlbars',
'ember-cli-htmlbars-inline-precompile',
'htmlbars-inline-precompile',
],
transforms: [...templateCompatSupport()],
},
],
[
'module:decorator-transforms',
{
runtime: {
import: fileURLToPath(
import.meta.resolve('decorator-transforms/runtime-esm'),
),
},
},
],
[
'@babel/plugin-transform-runtime',
{
absoluteRuntime: dirname(fileURLToPath(import.meta.url)),
useESModules: true,
regenerator: false,
},
],
'ember-concurrency/async-arrow-task-transform',
...babelCompatSupport(),
],
generatorOpts: {
compact: false,
},
};