๐Ÿ“ฆ ionic-team / ionicons

๐Ÿ“„ stencil.config.ts ยท 41 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41import { Config } from '@stencil/core';

export const config: Config = {
  namespace: 'ionicons',
  sourceMap: false,
  outputTargets: [
    {
      type: 'dist',
      collectionDir: './collection',
      empty: false,
    },
    {
      type: 'dist-custom-elements',
      externalRuntime: false,
      dir: './components',
    },
    {
      type: 'docs-readme',
    },
    {
      type: 'www',
      copy: [
        {
          src: './components/test/*.svg',
          dest: './assets/',
        },
        {
          src: './components/test/',
          dest: './test/',
        },
        {
          src: './svg/*.svg',
          dest: './svg/',
        },
      ],
      empty: false,
      serviceWorker: false,
    },
  ],
};