Skip to content

Support webpack electron-renderer mode #426

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

Closed
wants to merge 1 commit into from

Conversation

ryb73
Copy link

@ryb73 ryb73 commented May 6, 2017

The hijacked require used for testing causes webpack to fail to compile formidable when in electron-renderer mode. This PR adds /* develblock */ comments which are used by https://www.npmjs.com/package/webpack-strip-block to strip out the offending code during compile.

@ryb73
Copy link
Author

ryb73 commented May 6, 2017

Found better solution at #337 (comment)

@ryb73 ryb73 closed this May 6, 2017
@ryb73 ryb73 deleted the electron-fix branch May 6, 2017 16:10
@ryb73 ryb73 restored the electron-fix branch May 6, 2017 16:11
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.

1 participant