2 ms·
Does this work with commonjs modules or not? There's so few tc39 modules it's almost not worth considering otherwise.
by nailer 8y ago
Does this work with commonjs modules or not? There's so few tc39 modules it's almost not worth considering otherwise.
- fks 8y agoIt does! > By default, @pika/web will install all package.json dependencies with an ES "module" entrypoint to the web_modules/ directory. @pika/web is able to handle any legacy Common.js/Node.js transitive dependencies in your dependency tree, however the top-level dependencies (the ones that you import directly) must have a "module" entrypoint.