Created
May 20, 2017 21:16
-
-
Save pavei/dcbc2dbf30ae90082e28586ad73c010e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this is a custom dictionary to make it easy to extend/override | |
// provide a name for an entry, it can be anything such as 'copyAssets' or 'copyFonts' | |
// then provide an object with a `src` array of globs and a `dest` string | |
module.exports = { | |
copyAssets: { | |
src: ['{{SRC}}/assets/**/*'], | |
dest: '{{WWW}}/assets' | |
}, | |
copyIndexContent: { | |
src: ['{{SRC}}/index.html', '{{SRC}}/manifest.json', '{{SRC}}/service-worker.js'], | |
dest: '{{WWW}}' | |
}, | |
copyFonts: { | |
src: ['{{ROOT}}/node_modules/ionicons/dist/fonts/**/*', '{{ROOT}}/node_modules/ionic-angular/fonts/**/*'], | |
dest: '{{WWW}}/assets/fonts' | |
}, | |
copyPolyfills: { | |
src: ['{{ROOT}}/node_modules/ionic-angular/polyfills/polyfills.js'], | |
dest: '{{BUILD}}' | |
}, | |
copySwToolbox: { | |
src: ['{{ROOT}}/node_modules/sw-toolbox/sw-toolbox.js'], | |
dest: '{{BUILD}}' | |
}, | |
copyFontawesomeFonts: { | |
src: ['{{ROOT}}/node_modules/font-awesome/fonts/**/*'], | |
dest: '{{WWW}}/assets/fonts' | |
}, | |
copyFontawesomeCss: { | |
src: ['{{ROOT}}/node_modules/font-awesome/css/font-awesome.min.css'], | |
dest: '{{WWW}}/assets/css' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment