npm run dev to run a watching server.
npm run build to build, transpile, babel-ify and minify files.
Components are in
.html files are svelte components, the
.js files are compilation endpoints that are also defined in
webpack.config.js. These compiled endpoints are then consumed by hand authored
.ejs files in
Visit localhost:8080/index.html for a compilation of all components, localhost:8080/simple.html for an isolated example.
The content of this Distill article is licensed as CC-BY 4.0. Code is released under the Apache 2.0 License, even if enclosed inside a notebook or served as part of the interactive article.