Skip to content

johnnybenson/vite-await-import-with-type-json-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vite transpiling bug

Before

export const data = await import(pathToJSONFile, { with: { type: 'json' } });

After

export const data = await import(pathToJSONFile, { assert: { type: 'json' } });

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published