-
Notifications
You must be signed in to change notification settings - Fork 7
/
stencil.config.ts
38 lines (36 loc) · 1.14 KB
/
stencil.config.ts
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
import { Config } from "@stencil/core";
import { sass } from "@stencil/sass";
export const config: Config = {
namespace: "ionicons-site",
plugins: [sass()],
outputTargets: [
{
type: "www",
serviceWorker: null,
baseUrl: "https://ionic.io/ionicons/",
prerenderConfig: "prerender.config.js",
copy: [
{ src: "../node_modules/ionicons/dist/ionicons/", dest: "./ionicons/" },
{
src: "../node_modules/ionicons/dist/ionicons/ionicons.esm.js",
dest: "./ionicons.js",
},
{
src: "../node_modules/ionicons/dist/ionicons.json",
dest: "./ionicons.json",
},
{
src: "../node_modules/ionicons/dist/ionicons.symbols.svg",
dest: "./ionicons.symbols.svg",
},
{ src: "../archived/v1/", dest: "./v1/" },
{ src: "../archived/v2/", dest: "./v2/" },
{ src: "../archived/v4/", dest: "./v4/" },
{ src: "./index.html", dest: "./usage/index.html" },
{ src: "./test", dest: "./test" },
{ src: "./CNAME", dest: "./CNAME" },
],
},
],
globalStyle: "src/global/style.scss",
};