Skip to content

Make packaging support esmodule , It's important especially if you're using Vite as your Dev Server

Notifications You must be signed in to change notification settings

meowWhat/parcel-plugin-vite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Start

  yarn add parcel-plugin-vite --dev

Role

  • parcel-plugin-vite will insert declaration expression in the bundled file header
  • parcel-plugin-vite will be found to execute automatically, you just need to install them !

Example

  • in
// someting bundled content 
  • out
var require
var parcelRequire
// someting bundled content

About

Make packaging support esmodule , It's important especially if you're using Vite as your Dev Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published