improve umd bundle size a bit

This commit is contained in:
Philipp Kühn
2020-11-11 14:15:32 +01:00
parent 7ad611378b
commit b87e76ead9

View File

@@ -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: [