Skip to content

Commit

Permalink
fix(build): copy entry HTML to output
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed May 24, 2021
1 parent a3226ac commit 06e4c8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -13,6 +13,7 @@ build: node_modules

bundle: build
node config/esbuild/browser.mjs
cp -rv src/index.html out/

ci: build cover

Expand Down
6 changes: 3 additions & 3 deletions src/index.html
@@ -1,5 +1,5 @@
<html>
<script type="text/yaml" id="data-world" src="../data/base.yml">
<script type="text/yaml" id="data-world">
states: [] # template file
worlds:
- locale:
Expand Down Expand Up @@ -295,7 +295,7 @@
base: room-step
verbs: !map {}
</script>
<script type="text/yaml" id="data-config" src="../data/config.yml">
<script type="text/yaml" id="data-config">
logger:
level: debug
name: textual-engine
Expand All @@ -304,6 +304,6 @@
en: {}
</script>
<div id="app"></div>
<script src="../out/bundle/browser.js">
<script src="./bundle/browser.js">
</script>
</html>

0 comments on commit 06e4c8d

Please sign in to comment.