Open saschanaz opened 6 years ago
@saschanaz Can I work on this issue, assuming this is still relevant?
I think we are not ready to do this yet. We need to support relative paths via import.meta.url
so that respec can be run anywhere, but webpack does not support import.meta
yet. (https://github.com/webpack/webpack/issues/6719)
(From #1671)
We currently depends on
requirejs/text
by importing CSS/JS files by e.g.import css from "deps/text!core/css/bp.css";
, instead we should do:The files then should be served separately, but ultimately we should do the same for ES modules (#1640).