This is a quickstart for parceljs!
you just need to clone this repository using:
git clone https://github.com/amirsasani/parcel-quickstart.git
OR just download it :)
to install parcel globally:
Yarn: yarn global add parcel-bundler
OR
npm: npm install -g parcel-bundler
To bundle your project and start a development server:
npm run start
this will run a development server so your project available at localhost:1234
address.
Your bundled project is available at dist
filder.
To bundle your project without development server:
npm run watch
Your bundled project is available at dist
filder.
To build your project:
npm run build
This command will minify and tree shaking the files.
Yout project in production mode is available in build
folder.
Enjoy Parcel.js ;-)
FOR MORE INFORMATION SEE parcel.js documentation