mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
resolved critial dependency warning
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
var nodeExternals = require('webpack-node-externals');
|
||||
|
||||
const {
|
||||
root
|
||||
} = require('./helpers');
|
||||
@@ -7,5 +9,8 @@ module.exports = {
|
||||
output: {
|
||||
filename: 'server.js'
|
||||
},
|
||||
target: 'node'
|
||||
target: 'node',
|
||||
externals: [nodeExternals({
|
||||
whitelist: [/@ng/]
|
||||
})],
|
||||
};
|
||||
|
Reference in New Issue
Block a user