polymer-project-config
Version:
reads, validates, and shapes your polymer.json project configuration
77 lines (76 loc) • 1.45 kB
JSON
{
"root": "public",
"entrypoint": "entrypoint.html",
"shell": "shell.html",
"fragments": [
"fragment.html"
],
"extraDependencies": [
"extra.html"
],
"sources": [
"src/**/*",
"!images/**/*"
],
"builds": [
{
"preset": "es6-bundled"
},
{
"name": "my-build",
"swPrecacheConfig": "sw.conf",
"browserCapabilities": [
"es2015"
],
"basePath": true,
"bundle": {
"treeshake": true
},
"js": {
"compile": {
"exclude": [
"js/breaks-when-compiled.js",
"js/no-compilation-necessary.js"
]
},
"minify": {
"exclude": [
"js/unminifiable.js",
"js/already-minified.js"
]
},
"transformEsModulesToAmd": true
},
"html": {
"minify": {
"exclude": [
"human-readable-example.html",
"weird-ie-comments-issue.html"
]
}
},
"css": {
"minify": {
"exclude": [
"css/human-readable-example.css",
"css/advanced-syntax.css"
]
}
}
}
],
"lint": {
"rules": [
"some-rule"
],
"warningsToIgnore": [
"some-warning"
],
"ignoreWarnings": [
"this should be overridden by warningsToIgnore"
],
"filesToIgnore": [
"some .* glob"
]
}
}