syt123450/giojs

default is not exported by node_modules/debug/src/browser.js

BoTime opened this issue · 2 comments

default is not exported by node_modules/debug/src/browser.js

In react-gio/package.json, added:
"debug.js": "2.6.9"
to devDependencies
Temporary fix!!!

ref 1: debug-js/debug#468
ref 2: https://github.com/rollup/rollup/wiki/Troubleshooting

debug 3.1.0 does not put "exports = module.exports = require('./debug')" inside brower.js file, maybe this is reason.
ref 1: https://github.com/visionmedia/debug/blob/master/src/browser.js
ref 2: https://www.npmjs.com/package/debug