steelbrain / pundle

👾 peaceful bundles - js bundler, built from the ground up for speed and extensibility
358 stars 23 forks source link

Pundle breaks on pouchdb-adapter-memory #171

Closed natew closed 6 years ago

natew commented 6 years ago

Hey, haven't run into an issue on correctness in a while but just got caught on this one.

Minimal test case would be to do this in a new pundle app:

import RxDB from 'rxdb'

And import the latest 7.1.0 rxdb package.

It seems to try and import the node levelup package from within pouchdb-memory-adapter. Unfortunately it's easy to get lost trying to follow the dep chain there, I got a ways down but didn't see any browser fields.

natew commented 6 years ago

Parent issue: https://github.com/pubkey/rxdb/issues/376

steelbrain commented 6 years ago

Sounds like a bug in the browser package resolver, should be fixed in the rewrite already

natew commented 6 years ago

Ah ok, is ng at a testable point? I can give it a run tonight or tomorrow.

steelbrain commented 6 years ago

It does not have a dev server yet but the build pipeline is complete. Here's how you can test it

$ git clone https://github.com/steelbrain/pundle
$ cd pundle
$ yarn
$ cd packages/example
$ node lib

and then the dist files will be in packages/example/public

steelbrain commented 6 years ago

Fixed in master