Outils pour utilisateurs

Outils du site


web:javascript:grunt:toc

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
web:javascript:grunt:toc [2015/04/20 02:58] sgariepyweb:javascript:grunt:toc [2022/02/02 00:42] (Version actuelle) – modification externe 127.0.0.1
Ligne 22: Ligne 22:
         watch: {         watch: {
             scripts: {             scripts: {
-                files: ['public/app/{,*/}*.js'],+                files: ['public/app/**/*.js'],
                 tasks: ['includeSource'],                 tasks: ['includeSource'],
                 options: {                 options: {
Ligne 73: Ligne 73:
  
 Si tout se passe bien, le fichier ''index.html'' sera mis à jour à l'ajout/suppression d'un fichier JavaScript/CSS. Si tout se passe bien, le fichier ''index.html'' sera mis à jour à l'ajout/suppression d'un fichier JavaScript/CSS.
 +
 +==== Sources ====
 +
 +  * Source pour la minification et le cleanup : [[http://www.sitepoint.com/writing-awesome-build-script-grunt/|Writing an Awesome Build Script with Grunt]]
 +  * [[http://bitflipr.blogspot.ca/2014/08/how-to-get-grunt-and-bower-to-build-and.html|How to get Grunt and Bower to Build and Deploy an Angular Project on OpenShift]]
 +
web/javascript/grunt/toc.1429491539.txt.gz · Dernière modification : 2022/02/02 00:43 (modification externe)