You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 9, 2020. It is now read-only.
Error loading styles/public.css: load hook should return a string, a { code, map } object, or nothing/null
/my_project/node_modules/rollup/dist/rollup.js:8839:10
given a jspm.config.js with meta
Doing
Works fine. And it works fine using
format = "cjs"too. But if I try to useformat = "esm"to take advantage of Rollup static optimization:It errors with message:
This is actually the expected result if the build module is actually a function
https://github.com/rollup/rollup/blob/d1c1126b1aca6f5b44772b1ddc19b1651dc78928/test/function/load-returns-string-or-null/_config.js
But I guess when "format":"esm", the translated output should be delivered to Rollup in a special way