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?
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
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?