rollup-plugin-bytenode
v0.1.0-alpha.3
Published
Rollup plugin for compile javascript code to byte code
Downloads
2
Maintainers
Readme
rollup-plugin-bytenode
Rollup plugin for compile JavaScript file to byte code. Use bytenode compiler.
Install
npm i rollup-plugin-bytenode --save-dev
// or
yarn add rollup-plugin-bytenode --save-dev
Usage
rollup.config.js
import bytenode from 'rollup-plugin-bytenode';
export default {
input: 'main.js',
output: [
{
file: 'dist/main.js',
format: 'cjs'
}
],
plugins: [
bytenode()
]
}
License
MIT License Copyright (c) jakexchan