error in main mdoule not found error webpack 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
}