Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-03-03 02:00:48 +0300
committerMike Greiling <mike@pixelcog.com>2017-03-04 01:47:39 +0300
commitd0d34786e9bdda51dfecc59a419082db8c523ddc (patch)
treebfb3fa6dbadc48899d23021b83fa15a767619fd6 /config
parentf5f0be534aafd4a2bf1acd9b9154537343fff66e (diff)
rename application entry point and change manifest to runtime
Diffstat (limited to 'config')
-rw-r--r--config/webpack.config.js6
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'],
}),
],