Created
September 7, 2017 01:39
-
-
Save pavei/32a7d52d9004a33e306b4748ebd2e123 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}}' | |
}, | |
copyLibs: { | |
src: ['{{SRC}}/libs/**/*'], | |
dest: '{{WWW}}/libs' | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment