generator--svelte Svelte Themes

Generator Svelte

working in heaven thanks to Rich Harris

svelte-rollup

Package Module into CJS Format

This can now be included in another rollup built bundle.
Work on es6/package.js, and create with..

npm run package

Testing bundle

Work in js/main as usual

npm start

notes

  • async.js - allows css scripts to be loaded in async via the link rel=preload as=style
  • ENV variables are available, see npm run production and in js/main.js. Also rollup.config.js detects ENV and uglifies where applicable.
  • eslint check the manual for any issues with ES6

Top categories

Loading Svelte Themes