Path cleaned
This commit is contained in:
parent
edf0e23f8b
commit
9e82084e52
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user