Hi, I'm no expert on compiling for distribution but when using your package, a Jest test failed for me.
Excerpt:
/............../node_modules/tab-election/dist/index.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){export var To;
^^^^^^
SyntaxError: Unexpected token 'export'
I agree, is export really allowed here? https://github.com/dabblewriter/tab-election/blob/master/dist/index.js#L1
Shouldn't it either be an mjs file or use the convention exports.To = To or something?
Hi, I'm no expert on compiling for distribution but when using your package, a Jest test failed for me.
Excerpt:
I agree, is
exportreally allowed here? https://github.com/dabblewriter/tab-election/blob/master/dist/index.js#L1Shouldn't it either be an
mjsfile or use the conventionexports.To = Toor something?