improve umd bundle size a bit
This commit is contained in:
@@ -107,11 +107,13 @@ async function build(commandLineArgs) {
|
|||||||
format: 'umd',
|
format: 'umd',
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
globals: {
|
globals: {
|
||||||
|
'@tiptap/core': '@tiptap/core',
|
||||||
vue: 'Vue',
|
vue: 'Vue',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
external: [
|
external: [
|
||||||
|
'@tiptap/core',
|
||||||
'vue',
|
'vue',
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|||||||
Reference in New Issue
Block a user