Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Releases: rollup/rollup-plugin-wasm

v3.0.0

17 Feb 00:38
ace7b2a
Compare
Choose a tag to compare

3.0.0 (2018-02-17)

Features

BREAKING CHANGES

  • A function is now imported instead of the module. You must
    change your code from something like this:
import sample from './sample.wasm'

// Using WebAssebly.Module
cache(sample)

WebAssembly.instantiate(sample, imports).then(res => {
  // ...
})

To this:

import sample from './sample.wasm'

sample(imports).then(res => {
  cache(res.module)

  // ...
})

v2.0.1

02 Nov 21:13
bee6d93
Compare
Choose a tag to compare

2.0.1 (2017-11-02)

Bug Fixes

  • fixed package.json validation errors (1ff4620)