- Notifications
You must be signed in to change notification settings - Fork13
Converts text files to modules
License
NotificationsYou must be signed in to change notification settings
TrySound/rollup-plugin-string
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Converts text files to modules:
importtplfrom"./tpl.html";console.log(`Template for render:${tpl}`);
npm i rollup-plugin-string -D
import{rollup}from"rollup";import{string}from"rollup-plugin-string";rollup({entry:"main.js",plugins:[string({// Required to be specifiedinclude:"**/*.html",// Undefined by defaultexclude:["**/index.html"]})]});
MIT ©Bogdan Chadkin
About
Converts text files to modules
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.