This is a simple Parcel JS boilerplate project for anyone to use. ;)
Setup
Make sure you have parcel installed globally
$ yarn global add parcel-bundler
//or
$ npm i -g parcel-bundler
First clone the repo as shown below.
$ git clone https://github.com/Hasala2002/parcel-boilerplate.git
And then go into the directory;
$ cd parcel-boilerplate
Install dev dependencies with Yarn or NPM, I recommend Yarn
$ yarn install
//or
$ npm install
Deploy
$ yarn run start
//or
$ npm run start
Go to http://localhost:1234 to view the local deploy. Edit and save files to automatically reload updates.
Build
$ yarn run build
//or
$ npm run build