add syncbuilddir step to aot build

This commit is contained in:
Art Lowel
2019-05-31 09:44:49 +02:00
parent 32e7b7a3b4
commit d93173e8d2
25 changed files with 394 additions and 113 deletions

View File

@@ -1,12 +1,12 @@
var nodeExternals = require('webpack-node-externals');
const {
root
buildRoot
} = require('./helpers');
module.exports = {
getServerWebpackPartial: function (aot) {
const entry = aot ? root('./src/main.server.aot.ts') : root('./src/main.server.ts');
const entry = aot ? buildRoot('./main.server.aot.ts') : buildRoot('./main.server.ts');
return {
entry: entry,
output: {