@orlv/tiny-bytenode

1.0.2 • Public • Published

@orlv/tiny-bytenode

Simplified version of Bytenode (https://github.com/bytenode/bytenode).

Includes webpack plugin.

npm i -D @orlv/tiny-bytenode

webpack config:

import TinyBytenodeWebpackPlugin from '@orlv/tiny-bytenode/webpack-plugin/index.js'

......

 plugins: [
    new TinyBytenodeWebpackPlugin({
      compileAsModule: true,
      compileForElectron: true,
      keepSource: false
      transformArrowFunctions: true,
      generateLoader: true
    })
]
  • transformArrowFunctions - Compile arrow functions to ES5 functions. Solves the issue of crashes caused by arrow functions.

Links:

Readme

Keywords

none

Package Sidebar

Install

npm i @orlv/tiny-bytenode

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

24.4 kB

Total Files

11

Last publish

Collaborators

  • orlv