Polymer / pwa-starter-kit

Starter templates for building full-featured Progressive Web Apps from web components.
https://pwa-starter-kit.polymer-project.org
2.36k stars 431 forks source link

Build not working on Edge #387

Closed Makio64 closed 4 years ago

Makio64 commented 4 years ago

Everything works in local but when I compile and test the build i got error.

Entry file :

import '@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js';
import '@webcomponents/webcomponentsjs/webcomponents-loader'
import './myapp'

Polymer.json:

{
  "entrypoint": "index.html",
  "shell": "src/index.js",
  "sources": [
    "images/**/*"
  ],
  "extraDependencies": [
    "manifest.json",
    "push-manifest.json"
  ],
  "builds": [
    {
      "name": "es5-bundled",
      "bundle": { 
        "inlineScripts": false 
      }, 
      "js": {
        "compile": "es5",
        "minify": true,
        "transformModulesToAmd": true
      },
      "css": {
        "minify": true
      },
      "html": {
        "minify": true
      },
      "addServiceWorker": true
    }
  ],
  "moduleResolution": "node",
  "npm": true
}

I got the error : Unable to get property 'src' of undefined or null reference

Any Idea, something I missing?

stale[bot] commented 4 years ago

This project is no longer under development and will be transitioning to a read-only repo. Thank you for your contributions.