Skip to content

alexrecital/repro-graphql-ruby-vite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repro Steps

  1. Run rm -rf .vite && npm install && npx vite
  2. Access http://localhost:5173/ with a recent browser (I tested with Chrome)

Expected

image

Actual

image

Workaround

Use this config in vite.config.js

legacy: {
    inconsistentCjsInterop: true, // Uncomment me to workaround the issue
  },

About

Repro code for vite rollup consumption of the client package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors