polymer-starter-kit/polymer.json
Russell Bicknell 14f8a59db8
[3.0-preview] Update polymer.json for webcomponentsjs changes. (#1109)
* Update `polymer.json`. (...)

- Remove webcomponentsjs from `extraDependencies` - this is built in to the CLI.
- Remove `moduleResolution: "node"` - this is now the default.

* Revert "Update `polymer.json`. (...)"

This reverts commit ba7be73831.

* Add new entry to `extraDependencies` to include webcomponentsjs bundles for the loader.
2018-05-08 14:57:30 -07:00

75 lines
1.4 KiB
JSON

{
"entrypoint": "index.html",
"shell": "src/my-app.js",
"sources": [
"images/**/*"
],
"extraDependencies": [
"manifest.json",
"node_modules/@webcomponents/webcomponentsjs/*.js",
"!node_modules/@webcomponents/webcomponentsjs/gulpfile.js",
"node_modules/@webcomponents/webcomponentsjs/bundles/*.js"
],
"builds": [
{
"name": "esm-bundled",
"browserCapabilities": [
"es2015",
"modules"
],
"js": {
"minify": true
},
"css": {
"minify": true
},
"html": {
"minify": true
},
"bundle": true,
"addServiceWorker": true
},
{
"name": "es6-bundled",
"browserCapabilities": [
"es2015"
],
"js": {
"minify": true,
"transformModulesToAmd": true
},
"css": {
"minify": true
},
"html": {
"minify": true
},
"bundle": true,
"addServiceWorker": true
},
{
"name": "es5-bundled",
"js": {
"minify": true,
"compile": true,
"transformModulesToAmd": true
},
"css": {
"minify": true
},
"html": {
"minify": true
},
"bundle": true,
"addServiceWorker": true
}
],
"moduleResolution": "node",
"npm": true,
"lint": {
"rules": [
"polymer-3"
]
}
}