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

works with webpack #547

Merged
merged 1 commit into from Aug 1, 2016
Merged

works with webpack #547

merged 1 commit into from Aug 1, 2016

Conversation

ghost
Copy link

@ghost ghost commented Jun 27, 2016

Trying to read (__dirname + '/package.json') file at run-time won't work with
webpack. Using require('./package.json') instead allows webpack to include
package.json's source into the bundle.

Trying to read (__dirname + '/package.json') file at run-time won't work with
webpack. Using require('./package.json') instead allows webpack to include
package.json's source into the bundle.
@aheckmann aheckmann merged commit f33021e into aheckmann:master Aug 1, 2016
@aheckmann
Copy link
Owner

thanks!

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.

None yet

1 participant