js-module-boilerplate

Boilerplate for the JS (ESnext) modules

Usage no npm install needed!

<script type="module">
  import jsModuleBoilerplate from 'https://cdn.skypack.dev/js-module-boilerplate';
</script>

README

js-module-boilerplate

Simple boilerplate for JavaScript component.

The Stack

Gulp - tasks ✔ Babel - transform ES6 to ES6 ✔ Rollup - bundling

Structure

The root level of the contains the following directories and files:

  • src/ - source files
  • dist/ - final bundles
  • gulpfile.babel.js - the gulp entry point + tasks
  • package.json - package.json file with info and depth