Use browserify to bundle deps
This commit is contained in:
parent
ac67adb456
commit
64446524b5
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
||||
._*
|
||||
node_modules/
|
||||
*.csv
|
||||
bundle.js
|
@ -1,3 +1,4 @@
|
||||
const csv = require('csvtojson')
|
||||
const csvPicker = document.getElementById('csvFile')
|
||||
csvPicker.addEventListener("change", handleFiles, false);
|
||||
|
||||
|
@ -13,7 +13,6 @@
|
||||
<hr>
|
||||
<table></table>
|
||||
|
||||
<script src="https://cdn.rawgit.com/Keyang/node-csvtojson/d41f44aa/browser/csvtojson.min.js"></script>
|
||||
<script src="bom2table.js" defer></script>
|
||||
<script src="bundle.js" defer></script>
|
||||
</body>
|
||||
</html>
|
@ -10,5 +10,6 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"csvtojson": "^2.0.10"
|
||||
}
|
||||
},
|
||||
"devDependencies": {}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user