Skip to content

Commit ff0af0a

Browse files
committed
chore: Fix IED editor plugin
1 parent 3dc85f1 commit ff0af0a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

public/js/plugins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const officialPlugins = [
22
{
33
name: 'IED',
4-
src: '/external-plugins/IedEditor.js',
4+
src: '/external-plugins/IedEditor.ts',
55
icon: 'developer_board',
66
activeByDefault: true,
77
kind: 'editor',

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default defineConfig({
66
viteStaticCopy({
77
targets: [
88
{ src: 'packages/external-plugins/**/*', dest: 'external-plugins', rename: { stripBase: 2 } },
9-
{ src: 'node_modules/@compas-oscd/plugins/**/*', dest: 'plugins', rename: { stripBase: 3 } }
9+
{ src: 'packages/external-plugins/IedEditor.ts', dest: 'external-plugins', rename: { stripBase: 2 } }
1010
]
1111
})
1212
],

0 commit comments

Comments
 (0)