I'm playing around with a style of development where I'd write, for example:
import {html, Component, render, useState} from "https://unpkg.com/htm/preact/standalone.mjs";
And let evergreen browsers chew on that :)
It occurs to me that at the moment, same is not possible with aphrodite:
If I do import {css} from "https://unpkg.com/aphrodite@2.4.0/src/no-important.js";
then loading fails because src/util.js has import stringHash from 'string-hash';
It's same for es/..., where chunk-XXX has stringHash and import asap from 'asap';
I'm playing around with a style of development where I'd write, for example:
import {html, Component, render, useState} from "https://unpkg.com/htm/preact/standalone.mjs";
And let evergreen browsers chew on that :)
It occurs to me that at the moment, same is not possible with
aphrodite
:https://unpkg.com/aphrodite/dist/aphrodite.js is common js.
If I do
import {css} from "https://unpkg.com/aphrodite@2.4.0/src/no-important.js";
then loading fails becausesrc/util.js
hasimport stringHash from 'string-hash';
It's same for
es/...
, wherechunk-XXX
has stringHash andimport asap from 'asap';