Josh Feinberg
09/16/2020, 3:50 AMModule parse failed: Unexpected token (10:29)
File was processed with these loaders:
* ../../node_modules/source-map-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.googling states it might be babel problem so i tried adding it as a loader
config.module.rules.push({
test: /\.extension$/,
loader: 'babel-loader'
});
config.module.rules.push({
test: /\.extension$/,
loader: 'ts-loader'
});but still no luck. anyone have any thoughts? (using the multiplatform plugin if that matters)
bashor
09/16/2020, 5:26 PMbashor
09/16/2020, 5:26 PMJosh Feinberg
09/16/2020, 10:47 PMJosh Feinberg
09/16/2020, 10:48 PMJosh Feinberg
09/16/2020, 11:20 PMbashor
09/17/2020, 6:36 PMbashor
09/17/2020, 6:41 PMreact-data-grid
uses ES2020 features it’s required to transpile it, take a look webpack.config.d
dir.
Also
• I slightly rewrite declaration, see ReactDataGridModule.kt
• added additional declarations, see ReactDataGrid.kt
• added a trick to import cssJosh Feinberg
09/17/2020, 7:47 PMJosh Feinberg
09/17/2020, 7:47 PMJosh Feinberg
09/17/2020, 7:47 PM