Skip to content

sandikoprastyo/Module-bundler-with-Parcel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PARCEL Documentation

Image

yarn start or npm start to run

yarn build or npm build to build

package.json code

"scripts": {
"start": "parcel <your directory example ./index.html>"},

Building for Production

    "scripts": {
    "start": "parcel <your directory example ./index.html>",
    "build": "parcel build <your directory example ./index.html> "
   },

Dist is the default directory for bundles, if you want to change it use this

    "scripts": {
    "start": "parcel index.html",
    "build": "parcel build index.html --out-dir directory-name"
   },

For disable minification and cache

    "scripts": {
    "start": "parcel index.html",
    "build": "parcel build index.html --no-minify"
    },
	  "scripts": {
	  "start": "parcel index.html",
	  "build": "parcel build index.html --no-cache"
	  },

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published