You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed this using npm and tried to use require('react-timesheet') in the index.js entry point to webpack and it gave me a SyntaxError. The files installed by calling npm install react-timesheet doesn't install the folder node_modules/react-timesheet/dist which contains the compiled js file specified for main key in package.json as this link specifies. Instead main points to a js file which contains jsx.
The text was updated successfully, but these errors were encountered:
I installed this using
npm
and tried to userequire('react-timesheet')
in theindex.js
entry point towebpack
and it gave me aSyntaxError
. The files installed by callingnpm install react-timesheet
doesn't install the foldernode_modules/react-timesheet/dist
which contains the compiled js file specified formain
key inpackage.json
as this link specifies. Insteadmain
points to a js file which contains jsx.The text was updated successfully, but these errors were encountered: