Basic starter project for building Web Applications with Parcel bundler (using Babel / SCSS / PostCSS for autoprefixing and browser support).
"Parcel always uses Babel on all modules to compile modern JavaScript into a form supported by browsers"
git clone https://github.com/toniG-78/parcel-boilerplate-project.git
npm install
Run dev server http://localhost:1234
npm run dev
npm run build
npm run clean
- Parcel (v1).
- ES6 Support (Babel).
- SCSS (dart-sass).
- PostCss (autoprefixing-minify CSS).
- Dev server with hotreloading.
-
After running the
npm run build
command, the output JavaScript and CSS files are moved to a separate folder:dist/
-
If you run
npm run build
it will generate a minified version of the JavaScript and CSS output file. -
After running the
npm run dev
command, the output JavaScript and CSS files are moved to a separate folder:dev-build/
-
If you run
npm run dev
it will output the JavaScript and CSS bundle in a more readable format for development or debugging. -
Open
.browserslistrc
and configure which browsers should be supported in your app. -
Open
postcss.config.js
for plugins configuration.