We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a46a002 commit f174370Copy full SHA for f174370
templates/app/webpack.make.js
@@ -268,6 +268,12 @@ module.exports = function makeWebpackConfig(options) {
268
* List: http://webpack.github.io/docs/list-of-plugins.html
269
*/
270
config.plugins = [
271
+ // Hides the 'the request of a dependency is an expression' warnings
272
+ new webpack.ContextReplacementPlugin(
273
+ /angular(\\|\/)core/,
274
+ path.resolve(__dirname, '../src')
275
+ ),
276
+
277
// Reference: https://github.com/webpack/extract-text-webpack-plugin
278
// Extract css files
279
// Disabled when in test mode or not in build mode
0 commit comments