mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
fixed 'Critical dependency' warnings when running karma
This commit is contained in:
@@ -227,6 +227,11 @@ module.exports = function (options) {
|
|||||||
/angular(\\|\/)core(\\|\/)@angular/,
|
/angular(\\|\/)core(\\|\/)@angular/,
|
||||||
root('./src'), {}
|
root('./src'), {}
|
||||||
),
|
),
|
||||||
|
// Workaround for https://github.com/angular/angular/issues/20357
|
||||||
|
new ContextReplacementPlugin(
|
||||||
|
/\@angular(\\|\/)core(\\|\/)esm5/,
|
||||||
|
root('./src'), {}
|
||||||
|
),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Plugin: DefinePlugin
|
* Plugin: DefinePlugin
|
||||||
|
Reference in New Issue
Block a user