A Rollup plugin that transforms .eft (ef.js template) files into JavaScript modules. Current stable version 0.17.0. Released as needed, follows ef-core and eft-parser versioning. Key differentiator: enables importing ef.js templates directly in Rollup bundles, with no runtime overhead.
npm install rollup-plugin-eftVerified import paths — ran on the pinned version, not inferred.
Shows basic Rollup config with eft plugin, generating an ESM bundle from a .eft file import.
Ensure peer dependencies are met: 'ef-core@^0.17.0', 'eft-parser@^0.16.5'.
Use only with Rollup; for other bundlers, look for respective ef.js loaders.
Use with Rollup's watch mode or a separate HMR setup.
Run 'npm install ef-core@^0.17.0'
Change 'import { eft } from 'rollup-plugin-eft'' to 'import eft from 'rollup-plugin-eft''Ensure import path ends with '.eft' and plugin is included in Rollup config.