bahmutov / bahmutov/cy-rollup

Importing 'loadConfigFile' is broken with current version (3.4.1) of Rollup

Open
#96 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
11
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Maybe you should explicitly attach '.js' to the import, e.g:

`const loadConfigFile = require('rollup/dist/loadConfigFile.js') `

See the discussion regarding this issue over at rollup:
https://github.com/rollup/rollup/pull/3896#issuecomment-739421156

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the import of loadConfigFile in the cy-rollup code and compare its resolution with Rollup 3.4.1. Verify the suggested .js import against the linked Rollup discussion, then run the existing project checks to confirm the Cypress preprocessor loads successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, javascript, rollup
Domain
build-system, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.