Skip to content

editorFiles ​

Function of @v12-engine/editor/vite

ts
export declare function editorFiles(options?: EditorFilesOptions): Plugin;

The plugin: plugins: [editorFiles()] in vite.config.ts. A project laid out another way than this repository says how (EditorFilesOptions): editorFiles({ games: 'games', public: 'static' }), or editorFiles({ gameFolder: () => 'src/game' }) for a project that is one game