Replies: 1 comment 9 replies
-
|
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good morning. First thanks for the help.
My situation is as below.
I tried to export {alert, confirm} in the original index.js file and use it through import {alert, confirm} from "my-package" in a file that uses that package.
However, after bundling, when I download the package and try to use the package through import {alert, confirm} from "my-package", an error like "The requested module 'my-package' does not provide an export named" is occurring. .
my repo
webpack.config.js
Beta Was this translation helpful? Give feedback.
All reactions