UNPKG

1.45 kBJSONView Raw
1{
2 "root": "public",
3 "entrypoint": "entrypoint.html",
4 "shell": "shell.html",
5 "fragments": [
6 "fragment.html"
7 ],
8 "extraDependencies": [
9 "extra.html"
10 ],
11 "sources": [
12 "src/**/*",
13 "!images/**/*"
14 ],
15 "builds": [
16 {
17 "preset": "es6-bundled"
18 },
19 {
20 "name": "my-build",
21 "swPrecacheConfig": "sw.conf",
22 "browserCapabilities": [
23 "es2015"
24 ],
25 "basePath": true,
26 "bundle": {
27 "treeshake": true
28 },
29 "js": {
30 "compile": {
31 "exclude": [
32 "js/breaks-when-compiled.js",
33 "js/no-compilation-necessary.js"
34 ]
35 },
36 "minify": {
37 "exclude": [
38 "js/unminifiable.js",
39 "js/already-minified.js"
40 ]
41 },
42 "transformEsModulesToAmd": true
43 },
44 "html": {
45 "minify": {
46 "exclude": [
47 "human-readable-example.html",
48 "weird-ie-comments-issue.html"
49 ]
50 }
51 },
52 "css": {
53 "minify": {
54 "exclude": [
55 "css/human-readable-example.css",
56 "css/advanced-syntax.css"
57 ]
58 }
59 }
60 }
61 ],
62 "lint": {
63 "rules": [
64 "some-rule"
65 ],
66 "warningsToIgnore": [
67 "some-warning"
68 ],
69 "ignoreWarnings": [
70 "this should be overridden by warningsToIgnore"
71 ],
72 "filesToIgnore": [
73 "some .* glob"
74 ]
75 }
76}