generated from noi-techpark/webcomp-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstencil.config.ts
53 lines (49 loc) · 1.09 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// SPDX-FileCopyrightText: 2025 NOI Techpark <[email protected]>
//
// SPDX-License-Identifier: CC0-1.0
import { Config } from '@stencil/core';
// https://stenciljs.com/docs/config
export const config: Config = {
namespace: 'noi-a22-traffic-forecast',
// buildEs5: true,
// hashFileNames: false,
// globalStyle: 'src/global/app.css',
// globalScript: 'src/global/app.ts',
// taskQueue: 'async',
bundles: [
{
components: [
'noi-a22-traffic-forecast'
]
},
],
outputTargets: [
{
// more: https://stenciljs.com/docs/www
type: 'www',
dir: 'www',
buildDir: '',
empty: true,
serviceWorker: null,
copy: [
{
src: "../assets",
dest: ".",
warn: true,
}
],
},
{
// https://stenciljs.com/docs/custom-elements
type: 'dist-custom-elements',
customElementsExportBehavior: 'auto-define-custom-elements',
externalRuntime: false,
generateTypeDeclarations: false,
empty: true,
minify: true,
},
],
devServer: {
port: 8998,
}
};