-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
38 lines (37 loc) · 972 Bytes
/
config.js
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
/**
* Site configuration
*/
const config = {
buildDir: 'build',
/**
* Entry points as in src folder
*/
entries: [
{ name: 'home', template: './index.html', module: './index.ts', style: './index.scss', path: '/static-web-app' },
{ name: 'about', template: './about/index.html', module: './about/index.ts', style: './about/index.scss', path: '/static-web-app/about' },
],
/**
* Files or directories to copy from src to the build directory
*/
assets: [
'assets',
'404.html'
],
/**
* Polyfills for legacy build
*/
polyfills: [
'core-js/modules/es.promise',
'core-js/modules/es.array.iterator',
'@webcomponents/webcomponentsjs'
],
/**
* Production base href
*/
baseHref: 'https://robisim74.github.io/static-web-app/',
/**
* For sitemap URLs
*/
hostname: 'https://robisim74.github.io'
};
module.exports = config;