move demo manifests to public assets

This commit is contained in:
Mads Rasmussen
2022-10-18 14:47:10 +02:00
parent d6c9a050f3
commit ae46d45064
6 changed files with 8 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ export const manifestDevelopmentHandler = rest.get(umbracoPath('/manifests'), (_
type: 'section',
alias: 'My.Section.Custom',
name: 'Custom Section',
js: '/src/mocks/App_Plugins/section.js',
js: '/App_Plugins/section.js',
elementName: 'my-section-custom',
weight: 1,
meta: {
@@ -26,7 +26,7 @@ export const manifestDevelopmentHandler = rest.get(umbracoPath('/manifests'), (_
type: 'propertyEditorUI',
alias: 'My.PropertyEditorUI.Custom',
name: 'My Custom Property Editor UI',
js: '/src/mocks/App_Plugins/property-editor.js',
js: '/App_Plugins/property-editor.js',
elementName: 'my-property-editor-ui-custom',
meta: {
label: 'My Custom Property',
@@ -39,13 +39,13 @@ export const manifestDevelopmentHandler = rest.get(umbracoPath('/manifests'), (_
type: 'entrypoint',
name: 'My Custom Entry Point',
alias: 'My.Entrypoint.Custom',
js: '/src/mocks/App_Plugins/custom-entrypoint.js',
js: '/App_Plugins/custom-entrypoint.js',
},
{
type: 'packageView',
alias: 'My.PackageView.Custom',
name: 'My Custom Package View',
js: '/src/mocks/App_Plugins/package-view.js',
js: '/App_Plugins/package-view.js',
meta: {
packageAlias: 'my.package',
},

View File

@@ -14,6 +14,10 @@ export default defineConfig({
src: 'public-assets/icons/*.js',
dest: 'icons',
},
{
src: 'public-assets/App_Plugins/*.js',
dest: 'App_Plugins',
},
],
}),
viteTSConfigPaths(),