copy.config.js 866 B

1234567891011121314151617181920212223242526
  1. // we don't want to run copy for the demos, so just override the config for now
  2. var path = require('path');
  3. module.exports = {
  4. copyAssets: {
  5. src: [path.join(path.dirname(process.env.IONIC_APP_ENTRY_POINT), '..', 'assets', '**', '*')],
  6. dest: path.join('{{WWW}}', 'assets')
  7. },
  8. copyIndexContent: {
  9. src: [path.join(process.cwd(), 'scripts', 'e2e', 'index.html')],
  10. dest: '{{WWW}}'
  11. },
  12. copyFonts: {
  13. src: [path.join(process.cwd(), 'node_modules', 'ionicons', 'dist', 'fonts', '**', '*'), path.join(process.cwd(), 'src', 'fonts', '**', '*')],
  14. dest: path.join('{{WWW}}', 'assets', 'fonts')
  15. },
  16. copyPolyfills: {
  17. src: [path.join(process.cwd(), 'dist', 'e2e', 'polyfills', 'polyfills.ng.js')],
  18. dest: '{{BUILD}}'
  19. },
  20. sharedCss: {
  21. src: [path.join(process.cwd(), 'scripts', 'e2e', 'e2e.shared.css')],
  22. dest: `{{BUILD}}`
  23. }
  24. }