chore(build): enable AOT for npm start:prod

This commit is contained in:
Roman Hotsiy 2017-05-08 12:56:20 +03:00
parent 6d423df2e9
commit 5b49fbce92
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -10,8 +10,8 @@ const webpackMerge = require('webpack-merge'); // used to merge webpack configs
const commonConfig = require('./webpack.common.js');
module.exports = webpackMerge(commonConfig({
IS_PRODUCTION: process.env.NODE_ENV === "production",
AOT: false
IS_PRODUCTION: IS_PRODUCTION,
AOT: IS_PRODUCTION
}), {
devtool: '#inline-source-map',
entry: {