foxdonut/meiosis

meiosis-setup with snowpack?

Closed this issue · 1 comments

I'm trying to start with meiosis-setup with snowpack. But I'm getting Uncaught TypeError: meiosis is not a function and sure enough it is undefined.

import meiosis from "meiosis-setup/mergerino";
import simpleStream from "meiosis-setup/simple-stream";
import merge from "mergerino";

const app = {};

console.log(meiosis);

const { update, states } = meiosis({ stream: simpleStream, merge, app });

What am I missing?

This issue has something to do with the lazy import machinery I'm using. It imports at the top level just fine. I'm closing this.