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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
ncc run
-e flag is currently working only in ncc build and not in ncc run
ncc build
How to test:
// index.js const puppeteer = require('puppeteer') console.log('it works')
ncc run index.js -e puppeteer # -> "Error: Cannot find module 'puppeteer'" ncc build index.js -e puppeteer -o dist && node dist # "it works"
The text was updated successfully, but these errors were encountered:
😨
Sorry, something went wrong.
The reason for this would be the lack of a node_modules in the temporary directory that the app is run against.
node_modules
We could symlink the node_modules there to the local one.
More consistent might be to symlink just node_modules/[external] for each known external to ensure nothing is brought through that shouldn't be.
node_modules/[external]
Fixed in #218.
No branches or pull requests
-e flag is currently working only in
ncc build
and not inncc run
How to test:
The text was updated successfully, but these errors were encountered: