update to v2.3.0
add `.rep()` & `.replaceChildren()` function update `.app()` & `.append()` to support rest params update build target to ES6 fix comment color on demo page add (more) tests
This commit is contained in:
@@ -6,14 +6,18 @@ import { defineConfig } from 'vite';
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [dts({exclude: ["./setupTests.ts", "**/*.test.ts"]})],
|
||||
plugins: [dts({exclude: ["./vitest.setup.ts", "**/*.test.ts"]})],
|
||||
build: {
|
||||
lib: {
|
||||
entry: resolve(__dirname, 'src/fluent-dom-esm.ts'),
|
||||
name: 'fluent-dom-esm',
|
||||
fileName: 'fluent-dom-esm',
|
||||
formats: ['es']
|
||||
formats: ['es'],
|
||||
outDir: './dist'
|
||||
},
|
||||
minify: false
|
||||
}
|
||||
},
|
||||
test: {
|
||||
setupFiles: ["./vitest.setup.ts"]
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user