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

Added 'main' to point to build JS. #388

Merged
merged 1 commit into from
Mar 12, 2016
Merged

Added 'main' to point to build JS. #388

merged 1 commit into from
Mar 12, 2016

Conversation

samkelleher
Copy link
Contributor

Resolves #387

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.

Resolves #387
--

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.
massar added a commit that referenced this pull request Mar 12, 2016
Added 'main' to point to build JS.
@massar massar merged commit 0b9edbb into OscarGodson:develop Mar 12, 2016
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 this pull request may close these issues.

Unable to use with Webpack import/require calls.
2 participants