chore(docs): update pkg file names

This commit is contained in:
braks
2022-11-06 19:20:39 +01:00
committed by Braks
parent 650e7527ae
commit 1e27b08c4b
+2 -2
View File
@@ -7,10 +7,10 @@ export function copyVueFlowPlugin(): Plugin {
name: 'copy-vue-flow', name: 'copy-vue-flow',
generateBundle() { generateBundle() {
;[ ;[
{ path: '../../../node_modules/@vue-flow/core/dist/', pkgName: 'vue-flow-core.es.js' }, { path: '../../../node_modules/@vue-flow/core/dist/', pkgName: 'vue-flow-core.mjs' },
{ {
path: '../../../node_modules/@vue-flow/additional-components/dist/', path: '../../../node_modules/@vue-flow/additional-components/dist/',
pkgName: 'vue-flow-additional-components.es.js', pkgName: 'vue-flow-additional-components.mjs',
}, },
].forEach(({ path, pkgName }) => { ].forEach(({ path, pkgName }) => {
const filePath = resolve(__dirname, `${path}/${pkgName}`) const filePath = resolve(__dirname, `${path}/${pkgName}`)