import { Config } from '@stencil/core';
import { sass } from '@stencil/sass';

export const config: Config = {
  tsconfig: 'tsconfig.json',
  plugins: [
    sass()
  ],
  outputTargets: [
    {
      type: 'www',
      dir: '../../docs/',
      serviceWorker: null,
      empty: false
    }
  ],
  globalStyle: 'site/global/style.css',
  copy: [
    { src: '../../../dist/css/ionicons.min.css', dest: './css/ionicons.min.css' },
    { src: '../../../dist/ionicons/', dest: './ionicons/' },
    { src: '../../../dist/ionicons.js', dest: './ionicons.js' },
    { src: '../../../dist/cheatsheet.html', dest: './cheatsheet.html' },
    { src: '../archived/v1/', dest: './v1/' },
    { src: '../archived/v2/', dest: './v2/' },
    { src: './index.html', dest: './usage/index.html' },
    { src: './test', dest: './test' },
    { src: '../../../dist/ionicons/data.json', dest: './data.json' }
  ]
};
  namespace: 'DocsSite',
  srcDir: 'site/',