mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +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/,
|
||||
root('./src'), {}
|
||||
),
|
||||
// Workaround for https://github.com/angular/angular/issues/20357
|
||||
new ContextReplacementPlugin(
|
||||
/\@angular(\\|\/)core(\\|\/)esm5/,
|
||||
root('./src'), {}
|
||||
),
|
||||
|
||||
/**
|
||||
* Plugin: DefinePlugin
|
||||
|
Reference in New Issue
Block a user