-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Hi,
I'm using TerserPlugin. After building app I've got errors from react-data-grid component.
ERROR in ./node_modules/rdg.v7/lib/Cell.js 10:19
Module parse failed: Unexpected token (10:19)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. S
ee https://webpack.js.org/concepts#loaders
| function handleCellClick() {
| selectCell();
> onRowClick?.(rowIdx, row, column);
| }
| function handleCellContextMenu() {
@ ./node_modules/rdg.v7/lib/index.js 2:0-41 2:0-41
ERROR in ./node_modules/rdg.v7/lib/Row.js 15:128
Module parse failed: Unexpected token (15:128)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. S
ee https://webpack.js.org/concepts#loaders
| event.dataTransfer.dropEffect = 'copy';
| }
> className = clsx('rdg-row', `rdg-row-${rowIdx % 2 === 0 ? 'even' : 'odd'}`, { 'rdg-row-selected': isRowSelected },
rowClass?.(row), className);
| // Regarding onDrop: the default in Firefox is to treat data in dataTransfer as a URL,
| // and perform navigation on it, even if the data type used is 'text'.
@ ./node_modules/rdg.v7/lib/index.js 3:0-39 3:0-39
ERROR in ./node_modules/rdg.v7/lib/DataGrid.js 69:23
Module parse failed: Unexpected token (69:23)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. S
ee https://webpack.js.org/concepts#loaders
| - 2 // border width
| - totalHeaderHeight
> - (summaryRows?.length ?? 0) * rowHeight
| - (totalColumnWidth > viewportWidth ? getScrollbarSize() : 0);
| const [rowOverscanStartIdx, rowOverscanEndIdx] = getVerticalRangeToRender(clientHeight, rowHeight, scrollTop, rows
.length);
@ ./node_modules/rdg.v7/lib/index.js 1:0-37 1:0-37
Last week everything was fine, but now after "NPM update" I have this error.
Help?
jwallet, rschultzgraycor, josegallegos07, heatherbooker, yk-nakamura and 3 more
Metadata
Metadata
Assignees
Labels
No labels