Closed DhansAL closed 3 years ago
The main entry in the package.json is for nodejs. To use the browser version you should add the following config to your webpack.config
resolve: {
alias: {
kuromoji$: 'kuromoji/build/kuromoji.js',
},
},
Module not found: Error: Can't resolve 'path' in \node_modules\kuromoji\src\loader. I'm using react webpack and nodeJs