diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-01-13 12:16:00 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-01-13 12:16:00 +0100 |
commit | c16ce1de8e8c21ad2136335d3b0b7d230e6d2f24 (patch) | |
tree | e5177a26dae755833122c4ef73744c2a7f9b53fc /client/config/webpack.dev.js | |
parent | 80deae8d198f6a376b477d780e76966f8fbb72ce (diff) | |
download | PeerTube-c16ce1de8e8c21ad2136335d3b0b7d230e6d2f24.tar.gz PeerTube-c16ce1de8e8c21ad2136335d3b0b7d230e6d2f24.tar.zst PeerTube-c16ce1de8e8c21ad2136335d3b0b7d230e6d2f24.zip |
Client: add basic aot support
Diffstat (limited to 'client/config/webpack.dev.js')
-rw-r--r-- | client/config/webpack.dev.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/config/webpack.dev.js b/client/config/webpack.dev.js index 964ea56a5..cea9d0306 100644 --- a/client/config/webpack.dev.js +++ b/client/config/webpack.dev.js | |||
@@ -1,6 +1,7 @@ | |||
1 | const helpers = require('./helpers') | 1 | const helpers = require('./helpers') |
2 | const webpackMerge = require('webpack-merge') // used to merge webpack configs | 2 | const webpackMerge = require('webpack-merge') // used to merge webpack configs |
3 | const commonConfig = require('./webpack.common.js') // the settings that are common to prod and dev | 3 | const commonConfig = require('./webpack.common.js') // the settings that are common to prod and dev |
4 | const path = require('path') | ||
4 | 5 | ||
5 | /** | 6 | /** |
6 | * Webpack Plugins | 7 | * Webpack Plugins |
@@ -29,7 +30,7 @@ const METADATA = webpackMerge(commonConfig({env: ENV}).metadata, { | |||
29 | * See: http://webpack.github.io/docs/configuration.html#cli | 30 | * See: http://webpack.github.io/docs/configuration.html#cli |
30 | */ | 31 | */ |
31 | module.exports = function (env) { | 32 | module.exports = function (env) { |
32 | return webpackMerge(commonConfig({env: ENV}), { | 33 | return webpackMerge(commonConfig({ env: ENV }), { |
33 | /** | 34 | /** |
34 | * Developer tool to enhance debugging | 35 | * Developer tool to enhance debugging |
35 | * | 36 | * |