Move fs to exporter and add browser packer

This commit is contained in:
Dolan
2018-04-24 22:56:56 +01:00
parent 06418655c0
commit e8bc7952db
8 changed files with 74 additions and 7 deletions

22
demo/browser-demo.html Normal file
View File

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<script src="../build/index.web.js"></script>
</head>
<body>
<h1>DOCX browser Word document generation</h1>
<button type="button" onclick="generate()">Click to generate document</button>
<script>
function generate() {
console.log('g');
}
</script>
</body>
</html>