bare-bones example of importing json with rollup
See also https://github.com/rollup/rollup-starter-lib
- clone this repo and
cd
into it - install modules with
npm install
- test with
npm run dev
- and build with
npm run build
after building, the public
directory will contain all files needed to distribute.
you can doublecheck by cd public
and python3 -m http.server
MIT.