forked from ionic-team/ionic-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstencil.config.ts
More file actions
27 lines (26 loc) · 801 Bytes
/
stencil.config.ts
File metadata and controls
27 lines (26 loc) · 801 Bytes
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
import { Config } from '@stencil/core';
import { sass } from '@stencil/sass';
export const config: Config = {
globalStyle: 'src/styles/global.scss',
// excludeUnusedDependencies: true,
plugins: [
sass()
],
namespace: 'site',
outputTargets: [
{
type: 'www',
baseUrl: 'https://ionicframework.com/docs',
prerenderConfig: 'prerender.config.js',
serviceWorker: null,
copy: [
{ src: 'pages/**/*.json' },
{ src: 'demos', dest: 'demos' },
{ src: 'components/color-gen/demo/index.html', dest: 'pages/theming/color-generator/index.html' },
{ src: 'assets', dest: 'assets' },
{ src: 'manifest.json', dest: 'manifest.json' },
{ src: '../node_modules/@ionic/core/dist', dest: 'assets/ionic' },
]
}
]
};