Skip to content

Commit

Permalink
Change needed after using corepack?
Browse files Browse the repository at this point in the history
  • Loading branch information
ajthinking committed Jan 29, 2025
1 parent 418fb2b commit 502a6ea
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions packages/ds-ext/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ export default defineConfig({
define: { 'process.env.NODE_ENV': '"production"' },
build: {
lib: {
// Could also be a dictionary or array of multiple entry points
entry: resolve(__dirname, 'src/app/index.tsx'),
name: 'app',
// the proper extensions will be added
fileName: 'app'
formats: ['es'],
fileName: () => 'app.mjs',
},
outDir: 'dist/app'
outDir: 'dist/app',
},
})
});

0 comments on commit 502a6ea

Please sign in to comment.