Closed samuelmr closed 4 years ago
The README shows one can load datapackage.js from a CDN:
<script src="//unpkg.com/datapackage/dist/datapackage.min.js"></script>
The following examples don't work in the browser since they use require() which is not supported by browsers.
require()
It would be nice to have (e.g. in the examples folder) a complete HTML page demonstrating the usage in browser.
Please preserve this line to notify @roll (lead of this repository)
Hi @samuelmr,
I've added an example - https://github.com/frictionlessdata/datapackage-js#browser
It's built using webpack so it works in browsers also.
webpack
Overview
The README shows one can load datapackage.js from a CDN:
The following examples don't work in the browser since they use
require()
which is not supported by browsers.It would be nice to have (e.g. in the examples folder) a complete HTML page demonstrating the usage in browser.
Please preserve this line to notify @roll (lead of this repository)