GlimmerX loader for Vite
- hbs templates import:
import MyComponent from './components/hello.hbs';
- TypeScript component files
- JavaScript component files;
vite.config.ts
import { defineConfig, PluginOption } from 'vite';
import glimmerXPlugin from 'vite-plugin-glimmerx';
export default defineConfig({
plugins: [
glimmerXPlugin() as PluginOption
],
});