Issue Type
Description
|
// @remove-for-deno |
|
module.exports = cac |
This should be removed in esm bundle for Node.js too.
Normally it won't cause issues, unless you're trying to bundle your CLI into a single js file.
Possible Solutions
Using a rollup plugin to remove it, could be added here: https://github.com/cacjs/cac/blob/master/rollup.config.js
Info
- CAC version: 6.7.3
- Reproduction link:
Issue Type
Description
cac/src/index.ts
Lines 13 to 14 in 5060bd9
This should be removed in esm bundle for Node.js too.
Normally it won't cause issues, unless you're trying to bundle your CLI into a single js file.
Possible Solutions
Using a rollup plugin to remove it, could be added here: https://github.com/cacjs/cac/blob/master/rollup.config.js
Info