You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -298,6 +298,24 @@ module.exports = {
298
298
]</pre>
299
299
</td>
300
300
</tr>
301
+
<tr>
302
+
<td>inherit</td>
303
+
<td>Boolean/Function</td>
304
+
<td><code>false</code></td>
305
+
<td>
306
+
Inherit from the parent config.
307
+
A valid use-case would be if you have <code>devtool: "source-maps"</code> in your webpack config and wanted source maps to be created for the DLL bundle as well.
308
+
However, this <strong>does not</strong> inherit plugins from the parent config and inheriting loaders are buggy too(see <ahref="https://github.com/asfktz/autodll-webpack-plugin/issues/37">#37</a>).
309
+
It can also be a function to inherit only the desired properties.
310
+
<pre>function inherit(webpackConfig) {
311
+
// Return object with desired properties.
312
+
}
313
+
</pre>
314
+
To see it action, <a href="https://github.com/asfktz/autodll-webpack-plugin/tree/master/experiments/inherit">check out the example</a>.
315
+
<br>
316
+
<strong>⚠️ This option is highly experimental! Use with caution and if you face any problems, please open a issue.<strong>
0 commit comments