Describe the bug
When attempting to new the Workbook constructor from the distribution version of excel4node, the program is held indefinitely. Looking at the Babel transpiling, it removes the constructor and makes it a function.
To Reproduce
Install the excel4node library from NPM (excel4node@1.8.2)
// Node
const excel = require('excel4node')
// Deno
import excel from 'npm:excel4node@1.8.2'
const workbook = new excel.Workbook()
Describe the bug When attempting to new the Workbook constructor from the distribution version of
excel4node
, the program is held indefinitely. Looking at the Babel transpiling, it removes the constructor and makes it a function.To Reproduce
Gist: https://gist.github.com/andyvanosdale/df8826fe80cf51d41e730b8665507786
Expected behavior Transpiling keeps the class behavior and has a constructor
Environment (please complete the following information):