Sample application is in main.js
.
npm ci
To try it out with the builtin importmap
-s in Chrome, run npm start
and navigate the browser
to http://localhost:5000/page. It should show 42
in the page (you need to use at least Chrome 89).
To try it out with the policy, run npm run start:node
. You should see 42
output.
(currently doesn't work!)
https://wicg.github.io/import-maps/ https://github.com/WICG/import-maps https://github.com/WICG/import-maps/tree/main/reference-implementation https://github.com/web-platform-tests/wpt/blob/master/import-maps/