use vite static assets to handle tiny on the dev server and copy tinymce to the right folder on cms build

This commit is contained in:
Jacob Overgaard
2023-06-22 15:46:32 +02:00
parent b23f55e7fd
commit 405e758bb8
4 changed files with 10 additions and 2 deletions

View File

@@ -17,6 +17,10 @@ export const plugins: PluginOption[] = [
src: 'src/assets/*.svg',
dest: 'umbraco/backoffice/assets',
},
{
src: 'node_modules/tinymce/**/*',
dest: 'umbraco/backoffice/tinymce'
}
],
}),
viteTSConfigPaths(),