We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've been trying to use codeflask from webpack, and I am getting the following error:
Module not found: Error: Can't resolve 'codeflask'
I discovered this is because inside package.json, the main field points to the non-existing index.js:
package.json
main
index.js
"main": "index.js",
I've manually changed it to this, and the import works:
"main": "src/codeflask.js",
It's almost too simple a fix for a PR, but I could create one if desired.
The text was updated successfully, but these errors were encountered:
No pull-request is simple enough to don't do it, some are just typos on the readme and this is fairly more important, so go for it ;-)
Sorry, something went wrong.
Oh wait, this isn't actually enough to fix it. It also needs AMD / CommonJS & co. logic for this to work correctly. I will create a proper PR.
No branches or pull requests
I've been trying to use codeflask from webpack, and I am getting the following error:
I discovered this is because inside
package.json
, themain
field points to the non-existingindex.js
:I've manually changed it to this, and the import works:
It's almost too simple a fix for a PR, but I could create one if desired.
The text was updated successfully, but these errors were encountered: