BREAKING CHANGE: `Plugin` is now `{ name, mount(api) }`. `fn.name` was the only
source for the name that plugin:mounted reports, and it is empty for a returned
arrow, "plugin" for a const, and whatever a minifier decides. A failed mount now
names the plugin and keeps the original error as its cause, and two plugins with
the same name fail createApp.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
20 lines
540 B
JSON
20 lines
540 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2017",
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"lib": ["es2020", "es2022.error"],
|
|
"declaration": true,
|
|
"outDir": "dist",
|
|
"rootDir": ".",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"forceConsistentCasingInFileNames": true
|
|
},
|
|
"include": ["src", "test", "example"],
|
|
"exclude": ["test/deno", "test/bun", "test/edge", "test/interop/_signal-app-deno.ts"]
|
|
}
|