paulfitz / daff

align and compare tables
https://paulfitz.github.io/daff
MIT License
787 stars 66 forks source link

use daff in react gives an error #193

Open AllComein opened 10 months ago

AllComein commented 10 months ago

ERROR in ./src/App.tsx 15:0-23 Module not found: Error: Can't resolve 'normalize.css' in 'D:\New folder\Newproject\new-app\src' ERROR in ./node_modules/daff/lib/daff.js 11145:23-40 Module not found: Error: Can't resolve 'crypto' in 'D:\New folder\Newproject\new-app\node_modules\daff\lib'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:

blacklee123 commented 3 weeks ago

use webpack4 instead