Skip to content

A Webpack4 template with some utilities to quickly start your projects.

License

Notifications You must be signed in to change notification settings

AntonioDiG/webpak4-template

Repository files navigation

Webpack4 Template

This is a Webpack4 template with some utilities to quickly start your projects.

Another useless webpack template

Yes, this is another webpack template... But at least it's a webpack 4 template!

What about?

These are the features that I included in this preset:

  • SCSS integration: yes, you can use beautifull scss istead boring css... And you can use the _vars.scss file for store all the global scss elements.
  • Babel and stage 3 preset: do you want most cutie feature of js but don't want worry about it? You are into right place.
  • Minify them all! Minify? Minify! Don't worry again, full minification for css and js.
  • Handlebars support. Are you lazy? Yes you are. So i prepared for you an useful html-template tool. Do less.
  • PostCSS and autoprefixer support.
  • mini-css-extract-plugin istead of extract-text-webpack-plugin to modernize your projects.
  • An helper.config.js file where put some functions to help your webpack configuration and keep it beautiful.
  • The Clean Webpack Plugin that clean ./dist before build your project. We love sweeping.
  • Some other funny stuff (read "so boring that i don't remember about them")

I hope this project can help you to start work with a smile and make good job.

But remember: don't use my stuff for evil purpose.

In italiano, grazie

Questa è la traduzione di quanto scritto sopra, più o meno.

Il senso sarà lo stesso ma con la certezza di aver fatto meno errori grammaticali...

In sostanza, cosa contiene questo template?

  • Integrazione con il formato SCSS per usare il fantastico scss invece del noioso css... Con l'aggiunta del file _vars.scss che ti permette di racchiudere in un sol posto tutti gli elementi globali del tuo progetto.
  • Babel ed il preset stage 3, per usare ES6 ed altre feature del js moderno.
  • Minificatori per CSS e JS già inseriti, non ti resta che metterti comodo.
  • Supporto ad Handlebars, un utile template engine per gestire al meglio le pagine html senza doverti sforzare troppo.
  • Supporto a postCSS ed autoprefixer.
  • Un comodo file js, helper.config.js, che ti permette di realizzare utili funzioni per snellire la tua configurazione di webpack. Alcune di esempio sono già inserite, mantieni snella la tua configurazione.
  • Il Clean Webpack Plugin per pulire ad ogni avvio la directory ./dist e non doverti curare di pulire la directory ogni volta.
  • Altre cose divertenti! (leggi "così noiose che non ricordo di loro")

Spero che questo progetto possa aiutarti ad iniziare con un sorriso e fare un buon lavoro.

Ma ricorda: Non usare la mia roba per scopi malvagi.

About

A Webpack4 template with some utilities to quickly start your projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published