We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d21bce4 + 73b0384 commit 6e31c0cCopy full SHA for 6e31c0c
src/index.js
@@ -1,6 +1,2 @@
1
-// Use CommonJS export to trick Webpack into working around the issues that
2
-// window.[module].default is set rather than window.[module]
3
-//
4
-// See: https://github.com/webpack/webpack/issues/706
5
-
+// Export default to provide support for non-ES6 solutions
6
module.exports = require('./js/Tree').default;
0 commit comments