mirror of
https://github.com/penpot/penpot.git
synced 2026-07-03 12:55:04 +00:00
9 lines
491 B
TypeScript
9 lines
491 B
TypeScript
import { iifeConfig } from './vite.config.iife';
|
|
|
|
// Builds the test cases as a single self-executing (IIFE) bundle that publishes
|
|
// the discovered tests on `globalThis.__penpotReloadedTests`. The UI "Reload"
|
|
// button fetches this file and the plugin sandbox `eval`s it to pick up edited
|
|
// tests without reopening the plugin. Rebuilt on save by the `watch` script.
|
|
// See vite.config.iife.ts for the shared bundle config.
|
|
export default iifeConfig('tests-bundle', 'src/tests-bundle.ts');
|