fix: move replace & copy plugin
Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -36,20 +36,6 @@ export default defineConfig({
|
||||
globals: {
|
||||
vue: 'Vue',
|
||||
},
|
||||
plugins: [
|
||||
replace({
|
||||
__VUE_FLOW_VERSION__: JSON.stringify(pkg.version),
|
||||
preventAssignment: true,
|
||||
}),
|
||||
copy({
|
||||
targets: [
|
||||
{
|
||||
src: 'src/theme-default.css',
|
||||
dest: 'dist',
|
||||
},
|
||||
],
|
||||
}),
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -62,6 +48,18 @@ export default defineConfig({
|
||||
imports: ['vue', '@vueuse/core'],
|
||||
dts: 'src/auto-imports.d.ts',
|
||||
}),
|
||||
replace({
|
||||
__VUE_FLOW_VERSION__: JSON.stringify(pkg.version),
|
||||
preventAssignment: true,
|
||||
}),
|
||||
copy({
|
||||
targets: [
|
||||
{
|
||||
src: 'src/theme-default.css',
|
||||
dest: 'dist',
|
||||
},
|
||||
],
|
||||
}),
|
||||
],
|
||||
optimizeDeps: {
|
||||
include: ['vue', '@vueuse/core', '@braks/revue-draggable', 'd3-zoom', 'd3-selection'],
|
||||
|
||||
Reference in New Issue
Block a user