0.0.9 • Published 12 months ago

rollup-runtime v0.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

rollup-runtime

rollup-runtime is a module loader for rollup dist. support amd systemjs and esm.

Why not native esm

  • dynamic import polyfill;
  • module,css,asset preload;

Those feature is a module rollup-runtime base on esm.

Use

__rollup_dynamic_import__(src:string, base:string, deps:string[], css:string[], img:string[]):Promise<any>

With Polyfill

ie 6-8

Array.isArray
Array.prototype.findIndex
Array.prototype.forEach
Array.prototype.indexOf
Array.prototype.map
Array.prototype.some
Object.create
Object.defineProperty
Promise
Promise.prototype.finally
String.prototype.startsWith
URL
URLSearchParams
console
document.head
queueMicrotask

other unsupport esm

Array.isArray
Array.prototype.findIndex
Object.create
Object.defineProperties
Object.defineProperty
Object.keys
Promise
Promise.prototype.finally
String.prototype.startsWith
String.prototype.trim
URL
URLSearchParams
console
document.currentScript
document.head
document.scripts
location
queueMicrotask
0.0.9

12 months ago

0.0.8

1 year ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago