When running in development, the configureProduction function is not called but I get the following webpack errors:
ERROR in ./src/index.tsx Module not found: Error: Can't resolve
'./server.js' in
'/Users/paulcowan/projects/cuttingedge/packages/website/src' @
./src/index.tsx 38:23-45 @ multi ./src/index
ERROR in ./src/index.tsx Module not found: Error: Can't resolve
'./stats.json' in
'/Users/paulcowan/projects/cuttingedge/packages/website/src' @
./src/index.tsx 37:22-45 @ multi ./src/index
I have the following code:
When running in development, the
configureProduction
function is not called but I get the following webpack errors:My nodeExternals is set like this:
How can I configure this correctly?