import plugin from '@start/plugin' ; import { Sandbox , Pkg } from '@bubble-dev/start-preset' ; export * from '@bubble-dev/start-preset' ; export const sandbox = Sandbox ( { entryPointPath : './tasks/sandbox/index.tsx' , htmlTemplatePath : './tasks/sandbox/templates/dev.html' , } ) ; export const pkg = Pkg ( { lib : { $description$ : null , $exportedName$ : null , $year$ : String ( new Date ( ) . getFullYear ( ) ) , } , } ) ; export const run = ( file ) => plugin ( 'main' , ( ) => async ( ) => { const { resolve } = await import ( 'path' ) ; const { main } = await import ( resolve ( file ) ) ; await main ( ) ; } ) ;