Skip to content

Commit b0f6c8c

Browse files
authored
fix: README.md
1 parent 7986e53 commit b0f6c8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Then modify the import with the prefix `inline!`
4343
```javascript
4444
import html from 'common-tags/lib/html' // Optional template literal tag function to remove spaces inside HTML-like string
4545

46-
import INLINE_SCRIPT from 'inline!./src/assets/inline.js'
46+
import INLINE_SCRIPT from 'inline!./src/assets/inline.js' // Note the extension is important here (not to be missed)
4747
import INLINE_SVG from 'inline!./src/assets/sample.svg'
4848

4949
...

0 commit comments

Comments
 (0)