mirror of
https://github.com/warkanum/monorepo-dep-checker.git
synced 2026-10-31 14:18:58 +00:00
Initial Version
This commit is contained in:
1 parent
8438e4c902
commit
07597a3764
5 files changed
+803
No files matched your search
@@ -0,0 +1,27 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import { resolve } from 'path';
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
lib: {
|
||||
entry: resolve(__dirname, 'src/index.js'),
|
||||
formats: ['es'],
|
||||
fileName: 'index'
|
||||
},
|
||||
rollupOptions: {
|
||||
external: [
|
||||
'fs',
|
||||
'path',
|
||||
'url',
|
||||
'chalk',
|
||||
'semver',
|
||||
'yargs',
|
||||
'yargs/helpers'
|
||||
]
|
||||
},
|
||||
target: 'node14',
|
||||
outDir: 'dist',
|
||||
emptyOutDir: true,
|
||||
sourcemap: true
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user