Skip to content

rixo/repro-rollup-commonjs-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproduction case

Usage

git clone [email protected]:rixo/repro-rollup-commonjs-system.git
cd repro-rollup-commonjs-system
npm install

npm run start

Open browser at http://localhost:5000

Error

TypeError: Cannot read property '__esModule' of undefined
    at getAugmentedNamespace (_commonjsHelpers.js:40)
    at Object.execute (parser.mjs_commonjs-proxy:12)
    at i (hmr-runtime.js:1)
    at e (hmr-runtime.js:1)
    at hmr-runtime.js:1
    at Array.forEach (<anonymous>)
    at e (hmr-runtime.js:1)
    at hmr-runtime.js:1
    at Array.forEach (<anonymous>)
    at e (hmr-runtime.js:1)

Expected

No error, gql lib should be logged in the console.

Previous working version

npm i -D @rollup/[email protected]
npm run start

In the browser: the gql lib is logged correctly.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published