Hi,
Just tried to use React DND (Drag and Drop) with current Meteor 1.8.1 and getting the following error at transpiling:
Uncaught SyntaxError: Unexpected token export
Looking at the source code it points to this in modules.js
Did not find any solutions on StackOverflow or anywhere else. Did find another person having the same issue here:
( diadama commented 10 days ago •
edited
got the same error with react-dnd
On Windows and Mac with the current Meteor version)
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// //
// node_modules/react-dnd/lib/index.js //
// //
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
export * from ‘./common’;
export * from ‘./hooks’;
export * from ‘./decorators’;
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
},“common”:{“index.js”:function(){