Skip to content

Latest commit

 

History

History
 
 

plugin-parcel

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

@snowpack/plugin-parcel

Use Parcel to bundle your application for production. Uses Parcel v1.

npm install --save-dev @snowpack/plugin-parcel
// snowpack.config.json
{
  "plugins": ["@snowpack/plugin-parcel"]
}

⚠️ NOTE: Parcel v1.x does not support Snowpack's usage of import.meta. This means that @snowpack/plugin-parcel won't work for Snowpack applications that make use of HMR (import.meta.hot) or custom environment variables (import.meta.env). If you need to use either, check out @snowpack/plugin-webpack instead.

Default Build Script

{
  "scripts": {"bundle:*": "@snowpack/plugin-parcel"}
}

Plugin Options

None