Open baocang opened 6 years ago
polymer init polymer-2-application
polymer-demo
demo-app.js
<script type="module" src="./demo-app.js"></script>
demo-element
demo-app.html
index.html
polymer serve --npm --open --open-path / --compile always
RequireJS inserted into index.html before first import link that only once.
RequireJS inserted before any script tag that with type module.
module
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
Versions & Environment
Steps to Reproduce
polymer init polymer-2-application
namedpolymer-demo
demo-app.js
with es6 syntax<script type="module" src="./demo-app.js"></script>
demo-element
with es module script and html templatedemo-element
indemo-app.html
orindex.html
polymer serve --npm --open --open-path / --compile always
Expected Results
RequireJS inserted into index.html before first import link that only once.
Actual Results
RequireJS inserted before any script tag that with type
module
.