@emnudge/rollup-plugin-wat

0.3.0 • Public • Published

rollup-plugin-wat

A Rollup plugin for directly importing "WebAssembly Text Format" files.

Imports are dynamically typed via creation of a local .d.ts file next to the .wat source.

https://github.com/EmNudge/rollup-plugin-wat/assets/24513691/324ab107-8969-4e3d-8553-aeacdd028e9a

Install

using npm

npm install --save-dev @emnudge/rollup-plugin-wat 

Usage

Add the plugin to your plugins array in your rollup.config.js file.

import { wat } from '@emnudge/rollup-plugin-wat';

export default {
  // ...some other config
  plugins: [wat()]
}

Credits

Package Sidebar

Install

npm i @emnudge/rollup-plugin-wat

Weekly Downloads

1

Version

0.3.0

License

MIT

Unpacked Size

12.1 kB

Total Files

5

Last publish

Collaborators

  • emnudge