Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
Avoid unexpected "ws" warnings generated by webpack...
Browse files Browse the repository at this point in the history
WARNING in /Users/moox/Sync/Development/phenomic/node_modules/ws/lib/BufferUtil.js
Module not found: Error: Can't resolve 'bufferutil' in '/Users/moox/Sync/Development/phenomic/node_modules/ws/lib'

WARNING in /Users/moox/Sync/Development/phenomic/node_modules/ws/lib/Validation.js
Module not found: Error: Can't resolve 'utf-8-validate' in '/Users/moox/Sync/Development/phenomic/node_modules/ws/lib'

Ref websockets/ws#1220
  • Loading branch information
MoOx committed Mar 15, 2019
1 parent cccee0e commit 4e7362d
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -23,6 +23,10 @@ const defaultExternals = [
"react",
"react-dom",

// https://github.com/websockets/ws/issues/1220
"bufferutil",
"utf-8-validate",

/^apollo(\/.*)?/,
/^aphrodite(\/.*)?/,
/^emotion(\/.*)?/,
Expand Down

0 comments on commit 4e7362d

Please sign in to comment.