import { Component } from "//unpkg.com/can@5/core.mjs";
Component.extend({ ... })
Currently, trying to build this in steal-tools will cause errors.
To make this work we would want:
Support for loading modules that start with either /, //, http and https which we currently can't do.
Since unpkg supporters semver, it would be great if we could do semver to normalize to the same module. For example //unpkg.com/can@5/core.mjs and //unpkg.com/can@^5.0.0/core.mjs should normalize to the same module.
With native modules in browsers, some teams might choose to use those in development. It could look something like this:
development.html
app.js
Currently, trying to build this in steal-tools will cause errors.
To make this work we would want:
/
,//
,http
andhttps
which we currently can't do.//unpkg.com/can@5/core.mjs
and//unpkg.com/can@^5.0.0/core.mjs
should normalize to the same module.