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

Unable to use with Webpack import/require calls. #387

Closed
samkelleher opened this issue Feb 21, 2016 · 0 comments · Fixed by #388
Closed

Unable to use with Webpack import/require calls. #387

samkelleher opened this issue Feb 21, 2016 · 0 comments · Fixed by #388

Comments

@samkelleher
Copy link
Contributor

When using NPM as the method to install EpicEditor, and then building the application (using WebPack for example), the main entry point JS file is not resolved.

Ie. These don't work.

var EpicEditor = require('epiceditor');
import EpicEditor from 'epiceditor';

The package.json is missing the main declaration that tells the builder which is the entrypoint file.

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

Successfully merging a pull request may close this issue.

1 participant