Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Commit

Permalink
build(webpack): update clientJs workflow, seperate dev env and produc…
Browse files Browse the repository at this point in the history
…tion env

Mention that `/src/insert.html` and `webpack.config.js` is UNFINISHED!!! and remains to be solved in
#36 You should run `npm run devw` and then debug in `/src/dev.html`, see source code for javascript
console command.

fix #20 re #36
  • Loading branch information
xiazeyu committed Nov 15, 2017
1 parent 38c5478 commit 2075fbe
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 deletions.
3 changes: 1 addition & 2 deletions bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle.js.map

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions dev.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Live2d Test Env</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div id="app">
<canvas id="live2dcanvas" width="680" height="940" style="border:dashed 1px #CCC">
</canvas>
</div>
<script type="text/javascript" src="bundle.js?157d51a75370887b7316"></script></body>
</html>
<!-- loadlive2d("live2dcanvas", "../assets/name/name.model.json", 0.5); -->
1 change: 0 additions & 1 deletion index.html

This file was deleted.

1 change: 1 addition & 0 deletions insert.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script type="text/javascript" src="bundle.js?fe462181ee70c1222fd3"></script>

0 comments on commit 2075fbe

Please sign in to comment.