We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b12dfbf commit 7f657d9Copy full SHA for 7f657d9
1 file changed
index.js
@@ -21,18 +21,6 @@ module.exports = function(options) {
21
subtree.match = tree.match;
22
content = source.indexOf('include') !== -1? posthtmlInclude(subtree): subtree;
23
24
- if (
25
- typeof options.addDependencyTo === 'object' &&
26
- typeof options.addDependencyTo.addDependency === 'function'
27
- ) {
28
- console.warn([
29
- "addDependencyTo is deprecated in favor of",
30
- "result.messages.dependency; posthtml-loader >= v1.0.1 will",
31
- "automatically add your imported files to webpack's file watcher."
32
- ].join("\n"));
33
- options.addDependencyTo.addDependency(src);
34
- }
35
-
36
if (tree.messages) {
37
tree.messages.push({
38
type: "dependency",
0 commit comments