https://github.com/grimlink/build-tools
Sample setups for build tools
https://github.com/grimlink/build-tools
grunt-configuration gulp-configuration parcel-configuration rollup-configuration webpack-configuration
Last synced: about 2 months ago
JSON representation
Sample setups for build tools
- Host: GitHub
- URL: https://github.com/grimlink/build-tools
- Owner: GrimLink
- Created: 2019-09-08T08:05:54.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-07-15T22:37:57.000Z (almost 5 years ago)
- Last Synced: 2025-03-29T05:11:44.201Z (about 2 months ago)
- Topics: grunt-configuration, gulp-configuration, parcel-configuration, rollup-configuration, webpack-configuration
- Language: JavaScript
- Homepage:
- Size: 149 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dev Build tools
This repo contains sample setups for each Task runner en Bundlers.
While the setup focuses an generic setup.
It does have some opinionated things I feel are the best way to go.So if you have something that is wrong
or could have been done better.
Don't hesitate to shoot an PR/Issue with why and how.Table of Contents
- [Whats in the 📦](#whats-in-the-%f0%9f%93%a6)
- [Grunt](#grunt)
- [Gulp](#gulp)
- [Parcel](#parcel)
- [Rollup](#rollup)
- [Webpack](#webpack)## Whats in the 📦
### [Grunt](./grunt)
Grunt setup with Webpack for JS bundeling.
I personlay moved to Gulp and/or Webpack.
So I am not using Grunt that much any more.Still this setup rocks!
Since it builds the CSS just the way I want it.
And JS via the power of webpack.I was planing to also add an Uglify option so you don't need the Webpack.
But I am not going to add this anymore.### [Gulp](./gulp)
Pretty much an port of Grunt but with more flexibility.
I kept the tasks clean and simple.
Compared to many Gulp configs I have seen.
That just lost logic 😨I my current preferred build tool.
Just as Grunt it uses the power of Webpack for the JS.
But I am planning to add an uglify option.
Just because I want to see that option work as well.### [Parcel](./parcel)
Sample setup using parcel.
Usefull for quick setups.
Since it is zero config.Funny enough this not completely true.
There are many config for other packages found in a parcel project.
E.g. `postcss.config.js`, `.babelrc` and `.sassrc`.But if you keep things simple you probably don't need this.
I personally do need these configs for my build tools.
So parcel is not my choice when to pick a build tool.### [Rollup](./rollup)
_Sample not made yet_
### [Webpack](./webpack)
Like parcel webpack can also run without any config.
But I am planing to add an config example here.
For now you can check the version in the [Gulp sample](./gulp/webpack.config.js).