-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
webpack.config.js:
module.exports = {
entry: {
index: "./assets/index.html",
},
modules: [
loaders: {
{test: /\.html$/, loader: PathRewriterPlugin.rewriteAndEmit({
name: '[name].html',
loader: 'file'
})},
Here's index.html:
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="[[../assets/css/ie8.css]]">
</head>
<body></body>
</html>
Here's what it logs for moduleData inside the plugin itself:
{ url: 'index.html',
content: 'module.exports = __webpack_public_path__ + "bc302e9900842acd0ee4316992fc41bb.html"',
Then silently errors and exits because it doesn't find any paths to rewrite
Metadata
Metadata
Assignees
Labels
No labels