`bento-*.js` files are not built on server request
See original GitHub issueWhen I load a local document with the following, the local server builds dist/v0/amp-timeago-1.0.max.js
:
<script
async
src="https://cdn.ampproject.org/v0/amp-timeago-1.0.js"
></script>
When I load a local document with the following, the local server does not build dist/v0/bento-timeago-1.0.max.js
:
<script
async
src="https://cdn.ampproject.org/v0/bento-timeago-1.0.js"
></script>
Make it so that the dev server triggers a re-build on bento-*.js
files.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Self-hosting · Discussion #3 · ampproject/bento - GitHub
One correction, if you are trying to get bento components you should not retrieve them from cdn.ampproject.org . The AMP Cache is for...
Read more >Introducing the Bento component library | bentojs.dev
Another benefit of Bento components is that resources are loaded lazily by default. Requests to external URLs occur only as the embed approaches ......
Read more >Overview — Bento release-3.8.0 documentation - GitHub Pages
Bento is a software framework being built to support NCI's Cancer Research Data Commons projects, including Integrated Canine Data Commons (ICDC) ...
Read more >Introducing bento, a NixOS deployment framework
Bento aims at managing a huge amount of NixOS in the wild, so it has been made with robustness in mind to bypass...
Read more >Unexpected token m in JSON at position 0 error - Stack Overflow
The reason it says unexpected token m is because the json-loader transforms your json into a javascript file which starts with ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@rsimha: indeed it now looks mostly correct! Found one small bug, but once that is resolved it is WAI: https://github.com/ampproject/amphtml/pull/36480
@samouri Yeah, for vendor nonmodule it should be working. Is it for vendor.mjs (ESM)?