Skip to content

Commit 58023ee

Browse files
committed
updated build back... gives index2.mjs
1 parent d2e0e62 commit 58023ee

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

vite.config.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,12 @@ export default defineConfig({
3131
outDir: fileURLToPath(new URL('./lib/dist/', import.meta.url)),
3232
lib: {
3333
name: 'nuxt3-win32-posix-path',
34-
formats: ['es', 'cjs','umd'],//('es' | 'cjs' | 'umd' | 'iife')
34+
// formats: ['es', 'cjs','umd'],//('es' | 'cjs' | 'umd' | 'iife')
35+
formats: ['es', 'cjs'],//('es' | 'cjs' | 'umd' | 'iife')
3536
//i lost my jsdocs though... weird
3637
entry: [ //"entry" can be a dictionary or array of multiple entry points
3738
fileURLToPath(new URL('./src/index.mjs', import.meta.url)),
38-
// fileURLToPath(new URL('./src/cli/index.mjs', import.meta.url)),
39+
fileURLToPath(new URL('./src/cli/index.mjs', import.meta.url)),
3940
// fileURLToPath(new URL('./dev/node-fs-utils-dev/create-dummy-files.mjs', import.meta.url)),
4041
// fileURLToPath(new URL('./src/win32ToWin32WSL2.mjs', import.meta.url)),
4142
// fileURLToPath(new URL('./src/import-material-theme-pup.mjs', import.meta.url)),

0 commit comments

Comments
 (0)