Merge branch 'develop' of https://github.com/misskey-dev/misskey into storybook
This commit is contained in:
@@ -85,6 +85,11 @@ export function getConfig(): UserConfig {
|
||||
__VUE_PROD_DEVTOOLS__: false,
|
||||
},
|
||||
|
||||
// https://vitejs.dev/guide/dep-pre-bundling.html#monorepos-and-linked-dependencies
|
||||
optimizeDeps: {
|
||||
include: ['misskey-js'],
|
||||
},
|
||||
|
||||
build: {
|
||||
target: [
|
||||
'chrome108',
|
||||
@@ -109,6 +114,11 @@ export function getConfig(): UserConfig {
|
||||
emptyOutDir: false,
|
||||
sourcemap: process.env.NODE_ENV === 'development',
|
||||
reportCompressedSize: false,
|
||||
|
||||
// https://vitejs.dev/guide/dep-pre-bundling.html#monorepos-and-linked-dependencies
|
||||
commonjsOptions: {
|
||||
include: [/misskey-js/, /node_modules/],
|
||||
},
|
||||
},
|
||||
|
||||
test: {
|
||||
|
Reference in New Issue
Block a user