Skip to content

Building iife and CommonJS

Latest
Compare
Choose a tag to compare
@murilopolese murilopolese released this 25 Oct 14:29
e2f5010

Well, ES6 modules can't be imported unless you are serving files on a HTTP server so this version includes builds in different formats so it can be used under file:// protocol. Shame on you ES6 modules.

  • Add custom elements polyfill as dependency
  • Add rollup as dependency and export cjs and iife versions
  • Example of build able to run from filesystem