-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"version": "0.7.3", | ||
"description": "IPFS Repo implementation", | ||
"main": "lib/index.js", | ||
"jsnext:main": "src/index.js", | ||
"browser": "src/index.js", | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
dignifiedquire
Member
|
||
"scripts": { | ||
"test": "aegir-test", | ||
"test:node": "aegir-test node", | ||
|
@@ -61,4 +61,4 @@ | |
"dignifiedquire <[email protected]>", | ||
"greenkeeperio-bot <[email protected]>" | ||
] | ||
} | ||
} |
@dignifiedquire @Voxelot @jbenet
When
npm link'ing
, Webpack will try to loadlib/index.js
instead ofsrc/index.js
, unless I tag this asbrowser
.Doesn't seem that
jsnext:main
is supported anymore on WebPack https://github.com/webpack/webpack/blob/master/lib/WebpackOptionsDefaulter.js#L83-L88Note however that, when
npm installing this module
, it will still try to load thelib
version, giving the $export error on js-ipfs-unixfs-engine because it is trying to transpile the already very transpiled version