Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webpack require fails. npm module doesn't to contain dist #3

Open
jchoi2x opened this issue May 13, 2016 · 1 comment
Open

webpack require fails. npm module doesn't to contain dist #3

jchoi2x opened this issue May 13, 2016 · 1 comment

Comments

@jchoi2x
Copy link

jchoi2x commented May 13, 2016

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.

@brecke
Copy link

brecke commented Sep 11, 2016

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants