chore: integrate misskey-js as a workspace item (git subtree) (#10409)

* Additional changes for the merge

* api-misskey-js
This commit is contained in:
Kagami Sascha Rosylight 2023-03-30 02:33:19 +02:00 committed by GitHub
parent a529b0e5a3
commit cee1d5e2d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 7008 additions and 97 deletions

View file

@ -86,6 +86,11 @@ export default defineConfig(({ command, mode }) => {
__VUE_PROD_DEVTOOLS__: false,
},
// https://vitejs.dev/guide/dep-pre-bundling.html#monorepos-and-linked-dependencies
optimizeDeps: {
include: ['misskey-js'],
},
build: {
target: [
'chrome108',
@ -110,6 +115,11 @@ export default defineConfig(({ command, mode }) => {
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: {