mirror of
https://github.com/Polymer/polymer-starter-kit.git
synced 2025-02-25 18:55:22 -06:00
* 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.
75 lines
1.4 KiB
JSON
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"
|
|
]
|
|
}
|
|
}
|