Skip to content

"require is not defined" after moving to ESM and rollup #1017

Closed
@fniephaus

Description

@fniephaus

We try and adopt template updates in our action from time to time and Convert to ESM and use rollup has caused an issue on Windows related to rollup/rollup#3434. Looking at the dist/index.js of this template, I also see a bunch of require calls. So this might also be an issue in this template.

I tried using transformMixedEsModules=true in here but that didn't seem to fix the problem.

Any help with this is appreciated!

Pinging @ncalteen because he's the author of #969.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions