Skip to content

Fix hot loader compatibility with Java8 Nashorn - #1709

Closed
pugnascotia wants to merge 1 commit into
webpack:masterfrom
pugnascotia:master
Closed

pugnascotia wants to merge 1 commit into
webpack:masterfrom
pugnascotia:master

Conversation

@pugnascotia

Copy link
Copy Markdown
Contributor

The way that the hot loader is included in a bundle breaks in Java 8's
Nashorn engine, because of a missing semicolon. This change introduces
a placeholder value that can be correctly substituted when building
a bundle, but is otherwise inert.

Note that I don't particularly like this change, so if there's a better
fix, I'd like to hear about it.

The way that the hot loader is included in a bundle breaks in Java 8's
Nashorn engine, because of a missing semicolon. This change introduces
a placeholder value that can be correctly substituted when building
a bundle, but is otherwise inert.

Note that I don't particularly like this change, so if there's a better
fix, I'd like to hear about it.
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