23 July 2018
tags: webpack javascript

Singular, a quick one.

If one mix javascript in html pages loaded by HTML plugin, such as:

<!doctype html>

webpack html plugin will throw an error reads something like:

Template execution failed: ReferenceError: message is not defined

No template literals in webpack html plugin.