Webpack imported module 0 is not definedSee original GitHub issue
Hi, I’m creating a chrome extension and I got this error when I tried to import the library
Uncaught ReferenceError: js_file_downloader__WEBPACK_IMPORTED_MODULE_0__ is not defined
I’m tried to import using jsFileDownloader, JsFileDownloader and with curly braces but it didn’t worked. How can I fix this?
- Created 2 years ago
- Comments:7 (2 by maintainers)
Top GitHub Comments
Sorry @rbngza-bimset, I don’t have the files anymore, but I learned how to setup the webpack from scratch reading its docs and this article https://dev.to/antonmelnyk/how-to-configure-webpack-from-scratch-for-a-basic-website-46a5. Hope this help you 😃
I’m learning how to configure webpack by myself, and it’s working now! Thank you for the help, and sorry for the unnecessary issue.
Edit: The require didn’t work, so I tried the babel-loader on webpack, and it’s fine.