-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Here is a part of rollup.config.js:
import inlineCode from 'rollup-plugin-inline-code'
console.log(inlineCode);
console.log(inlineCode());
Actual result:
> npx rollup -c rollup.config.js --bundleConfigAsCjs
{ default: [Function (anonymous)] }
[!] TypeError: inlineCode is not a function
Expected result:
> npx rollup -c rollup.config.js --bundleConfigAsCjs
[Function (anonymous)]
{
name: 'rollup-plugin-inline-code',
resolveId: [Function: resolveId],
transform: [Function: transform]
}
I can get the expected output using inlineCode.default, but that is clearly not the way it is supposed to work.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working