The question #1, Is there any other way to build them without modified the way of class call?
Next...
After I build them and success, I tried run polymer serve on each folder build. I got many errors on browser console cannot found the element import, something like the following error :
GET http://localhost:8000/src/bower_components/polymer/polymer.html 404 (Not Found)
I checked the related file on build folder, the link of file import is missing after build to be :
bower_components/....
It should be :
../bower_components/....
The question #2, How to run polymer build without change the import link path?
Below is my polymer.json :
When I run polymer build, it shows error :
I tried a solution from a similar issue, it modified the way of class call and add a polyfill comment like the following line :
The polymer build is success
The question #1, Is there any other way to build them without modified the way of class call?
Next... After I build them and success, I tried run polymer serve on each folder build. I got many errors on browser console cannot found the element import, something like the following error :
GET http://localhost:8000/src/bower_components/polymer/polymer.html 404 (Not Found)
I checked the related file on build folder, the link of file import is missing after build to be :
bower_components/....
It should be :
../bower_components/....
The question #2, How to run polymer build without change the import link path?
Thank you!