diff --git a/static-html/package.json b/static-html/package.json
index 319f444..7d46e40 100644
--- a/static-html/package.json
+++ b/static-html/package.json
@@ -5,7 +5,8 @@
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
- "start": "webpack serve",
+ "serve": "webpack serve",
+ "watch": "webpack --watch --progress",
"build": "webpack --env production"
},
"author": "",
diff --git a/static-html/src/templates/index.ejs b/static-html/src/templates/index.ejs
index a85368d..eb09cba 100644
--- a/static-html/src/templates/index.ejs
+++ b/static-html/src/templates/index.ejs
@@ -19,8 +19,8 @@
- <% let data = {text: 'text is text'} %>
- <%- include partials/component data %>
+ <%# weird loader string syntax because https://github.com/bazilio91/ejs-compiled-loader/issues/46 %>
+ <%- require('!!ejs-compiled-loader?{}!./partials/component.ejs')({ text: 'text is text yahh!!!' }) %>