import * as path from 'path' ; import hostComponents from '../hostComponents/node' ; import type { PluginConstructor } from '@remax/types' ; const EJS_TPL_ROOT = path . join ( __dirname , '../../templates' ) ; const plugin = ( ) => { return { meta : { global : 'tt' , template : { extension : '.ttml' , tag : 'import' , src : 'src' , } , style : '.ttss' , ejs : { base : path . join ( EJS_TPL_ROOT , 'base.ejs' ) , page : path . join ( EJS_TPL_ROOT , 'page.ejs' ) , } , } , hostComponents , skipHostComponents : [ 'swiper-item' ] , } ; } ; export default plugin ;