README
Bundles Tplit Bundler
This is a bundler plugin for Bundles. It uses tplit to compile Bundles input with the power of native JavaScript templating with template literals.
Environment support
| Node | CLI | ES Module | Browser | UMD |
|---|---|---|---|---|
| ✓ | ✓ | x | x | x |
Install
npm install @bundles/core @bundles/bundles-tplit -D
Usage
See configuring Bundles for how to configure Bundles and bundlers.
Configuration
The following configuration options are available:
options{Object} Options passed to tplit.
Data
The tplit bundler utilizes the file.data property to compile your tplit files with data.