Skip to content

Example Project showing issue with cucumber-js using pure ESM dependencies

Notifications You must be signed in to change notification settings

NiclasThobaben/cucumber-esm-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cucumber ESM issue

Example repository showing the problem with cucumber/cucumber-js#2248.

Background

This project contains two packages, a library and a client of the library. The library includes react-dnd as a transitive dependency, which is (currently still) a pure ESM package.

When using the library from within cucumber js, the library is required from CJS code, which in turn leads to

Error [ERR_REQUIRE_ESM]: require() of ES Module

Run example

Simply run run-example.sh

About

Example Project showing issue with cucumber-js using pure ESM dependencies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published