Path cleaned

This commit is contained in:
Paterson 2020-12-18 21:44:03 +01:00
parent edf0e23f8b
commit 9e82084e52

View File

@ -6,7 +6,7 @@
<% if (htmlWebpackPlugin.options.nodeModules) { %>
<!-- Add `node_modules/` to global paths so `require` works properly in development -->
<script>
require('module').globalPaths.push('<%= htmlWebpackPlugin.options.nodeModules.replace(/\\/g, '\\\\') %>')
require('module').globalPaths.push('<%= htmlWebpackPlugin.options.nodeModules.replace(/\\/g, "\\\\") %>')
</script>
<% } %>
</head>