multi-progress-bars
multi-progress-bars copied to clipboard
with v4, webpack builds fail
Observed Error
[WEBPACK] ERROR in ./node_modules/multi-progress-bars/dist/multi-progress-bars.es.js 1:0
[WEBPACK] Module parse failed: 'import' and 'export' may appear only with 'sourceType: module' (1:0)
This is due to having a "type": "commonjs" in your top-level package.json: https://github.com/kamiyo/multi-progress-bars/blob/master/package.json#L13
Proposed Solution
I think it could be resolved in a way that "just works" with the default webpack behavior by renaming your dist/multi-progress-bars.es.js to instead use a .mjs extension (this would require two matching changes to the package.json).
Sorry I've missed all these issues. I'll take a look.
Hey, wondering if the latest prerelease solves this? 4.2.2-0