Skip to content

Commit 8b23d2c

Browse files
authored
Feature: add build and a dist directory (#5)
makes output file slightly smaller for browser delivery and removes the need for exportForTesting
1 parent 77e9551 commit 8b23d2c

23 files changed

Lines changed: 958 additions & 286 deletions

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dist/
2+
coverage/
3+

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ I've experimented with other existing libraries (ejs templates, etc.) but wanted
1010

1111
## Getting Started
1212

13-
1. copy the faintly.js file to the scripts directory of your project
13+
1. copy the /dist/faintly.js file to the scripts directory of your project
1414
2. in the folder for your block, add a `blockName.html` file for the block template
1515
3. in your block javascript, call the `renderBlock` function:
1616

@@ -96,4 +96,4 @@ Faintly supports a simple expression syntax for resolving data from the renderin
9696

9797
For `data-fly-include`, HTML text, and normal attributes, wrap your expression in `${}`.
9898

99-
In all other `data-fly-*` attributes, just set the expression directly as the attribute value, no wrapping needed.
99+
In all other `data-fly-*` attributes, just set the expression directly as the attribute value, no wrapping needed.

0 commit comments

Comments
 (0)