error - webpack 'dist' entry module not found error can't resolve code example
Example: webpack Module not found: Error: Can't resolve '../
resolve: {
modules: [resolve(process.cwd(), 'src'), 'node_modules'],
extensions: ['*', '.js', '.jsx', '.json'],
symlinks: false,
cacheWithContext: false
}