Skip to content
New issue

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

module.exports = Package[‘mongo’]; Package not defined. #91

Open
kamalsprasad opened this issue May 22, 2020 · 0 comments
Open

module.exports = Package[‘mongo’]; Package not defined. #91

kamalsprasad opened this issue May 22, 2020 · 0 comments

Comments

@kamalsprasad
Copy link

I'm trying to use webpack-meteor-externals npm package with Cypress, which already has a version of webpack-processor (https://github.com/cypress-io/cypress-webpack-preprocessor) available.

However, when I try

const meteorExternals = require('webpack-meteor-externals');
    //...
    externals: [
        meteorExternals()
    ]
    //...

I get an error message that says Package in "module.exports = Package[‘mongo’]" is not defined. Without webpack-meteor-externals, I get an error saying "meteor/mongo" module is not found.

Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant