mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Fixed AoT Build
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const webpackMerge = require('webpack-merge');
|
||||
const commonPartial = require('./webpack/webpack.common');
|
||||
const clientPartial = require('./webpack/webpack.client');
|
||||
const serverPartial = require('./webpack/webpack.server');
|
||||
const { getServerWebpackPartial } = require('./webpack/webpack.server');
|
||||
const prodPartial = require('./webpack/webpack.prod');
|
||||
|
||||
const {
|
||||
@@ -15,6 +15,8 @@ module.exports = function(options, webpackOptions) {
|
||||
console.log(`Running build for ${options.client ? 'client' : 'server'} with AoT Compilation`)
|
||||
}
|
||||
|
||||
let serverPartial = getServerWebpackPartial(options.aot);
|
||||
|
||||
let serverConfig = webpackMerge({}, commonPartial, serverPartial, {
|
||||
plugins: [
|
||||
getAotPlugin('server', !!options.aot)
|
||||
|
Reference in New Issue
Block a user