diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-03-02 17:00:48 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-03-03 16:47:39 -0600 |
commit | d0d34786e9bdda51dfecc59a419082db8c523ddc (patch) | |
tree | bfb3fa6dbadc48899d23021b83fa15a767619fd6 /config | |
parent | f5f0be534aafd4a2bf1acd9b9154537343fff66e (diff) | |
download | gitlab-ce-d0d34786e9bdda51dfecc59a419082db8c523ddc.tar.gz |
rename application entry point and change manifest to runtime
Diffstat (limited to 'config')
-rw-r--r-- | config/webpack.config.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index eb453b5997b..d9fa70c29fb 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -20,7 +20,7 @@ var config = { common: './commons/index.js', common_vue: ['vue', 'vue-resource'], common_d3: ['d3'], - application: './application.js', + main: './main.js', blob_edit: './blob_edit/blob_edit_bundle.js', boards: './boards/boards_bundle.js', simulate_drag: './test_utils/simulate_drag.js', @@ -47,7 +47,7 @@ var config = { output: { path: path.join(ROOT_PATH, 'public/assets/webpack'), publicPath: '/assets/webpack/', - filename: IS_PRODUCTION ? '[name]-[chunkhash].js' : '[name].js' + filename: IS_PRODUCTION ? '[name].[chunkhash].bundle.js' : '[name].bundle.js' }, devtool: 'inline-source-map', @@ -124,7 +124,7 @@ var config = { // create cacheable common library bundles new webpack.optimize.CommonsChunkPlugin({ - names: ['application', 'common', 'manifest'], + names: ['main', 'common', 'runtime'], }), ], |