update to v2.2.1

fix type issues with root object wrapping node or querySelector
fix incorrect import in demo
fix unused options in vite.config.js
add (some) tests - more to come!
This commit is contained in:
2025-09-13 03:05:49 -04:00
parent c9de0883eb
commit af2e0d2eec
14 changed files with 519 additions and 31 deletions

View File

@@ -6,7 +6,7 @@ import { defineConfig } from 'vite';
const __dirname = dirname(fileURLToPath(import.meta.url));
export default defineConfig({
plugins: [dts()],
plugins: [dts({exclude: ["./setupTests.ts", "**/*.test.ts"]})],
build: {
lib: {
entry: resolve(__dirname, 'src/fluent-dom-esm.ts'),
@@ -14,14 +14,6 @@ export default defineConfig({
fileName: 'fluent-dom-esm',
formats: ['es']
},
minify: false,
rollupOptions: {
output: {
banner: '/* my-library version banner */',
footer: '/* follow me on Twitter! @rich_harris footer */',
intro: '/* my-library version intro*/',
outro: '/* follow me on Twitter! @rich_harris outro */',
}
}
minify: false
}
});