Skip to content

Instantly share code, notes, and snippets.

@egoist

egoist/tip.md Secret

Created December 16, 2018 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save egoist/82bd6c394f94fa301cc76477fc272244 to your computer and use it in GitHub Desktop.
Save egoist/82bd6c394f94fa301cc76477fc272244 to your computer and use it in GitHub Desktop.
Suppress webpack warning for Critical dependency

To suppress this warning, add this in your poi.config.js:

module.exports = {
  configureWebpack: {
    module: {
      exprContextCritical: false
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment