-
Notifications
You must be signed in to change notification settings - Fork 430
es6 imports are not working properly. #122
Comments
Despite the misleading directory, looks like es/index.js isn't actually an ES module (doesn't use |
@keanulee is there a way to compile it anyway using a gulp plugin? |
I'm unaware of any ways to convert |
Ok. I'll wait for a webpack template then before I experiment. Cheers! |
One workaround which you can give it a try... if the library provides an UMD build (which I believe import 'redux-firestore/dist/redux-firestore.js';
const { reduxFirestore } = self.ReduxFirestore; This might not work if the library is not doing the right thing... see this issue for more info. |
Trying to use redux-firestore but got errors like these.
The requested module '../node_modules/redux-firestore/es/index.js' does not provide an export named 'reduxFirestore'
The text was updated successfully, but these errors were encountered: