Skip to content

Commit 0535927

Browse files
committed
feat(index): add a warning about depracated features
1 parent b8f87d6 commit 0535927

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/index.js

+6
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ class AureliaWebpackPlugin {
2222
'.styl': ['css', 'stylus'],
2323
}, options.customViewLoaders || {});
2424

25+
if (options.includeSubModules || options.contextMap) {
26+
console.error('WARNING: You are passing a depracated option "includeSubModules" / "contextMap" to aurelia-webpack-plugin.');
27+
console.error(' Please migrate your config to use aurelia.build.resources inside of your package.json.');
28+
console.error(' For more information see: https://github.com/aurelia/skeleton-navigation/blob/master/skeleton-typescript-webpack/README.md#resource-and-bundling-configuration');
29+
}
30+
2531
this.options = options;
2632
}
2733

0 commit comments

Comments
 (0)