Preparing core package for use by other packages.
This commit is contained in:
16
packages/js/core/vite.config.js
Normal file
16
packages/js/core/vite.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
// vite.config.js
|
||||
import { resolve } from 'path'
|
||||
import { defineConfig } from 'vite'
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
lib: {
|
||||
// Could also be a dictionary or array of multiple entry points
|
||||
entry: [
|
||||
resolve(__dirname, 'src/index.ts'),
|
||||
resolve(__dirname, 'src/document.ts'),
|
||||
resolve(__dirname, 'src/parser.ts'),
|
||||
]
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user