diff options
| author | Tim Zallmann <tzallmann@gitlab.com> | 2017-10-04 11:23:52 +0000 |
|---|---|---|
| committer | Phil Hughes <me@iamphill.com> | 2017-10-04 11:23:52 +0000 |
| commit | 412571a4dfbf90d85df1393fa0075aacae27137d (patch) | |
| tree | 7e6f349542472d2679fb5d8013f4c39eeb95960f /config/webpack.config.js | |
| parent | 086784411c73d61a296e923b2274f81344646a77 (diff) | |
| download | gitlab-ce-412571a4dfbf90d85df1393fa0075aacae27137d.tar.gz | |
Load only the currently needed JS locale file
Diffstat (limited to 'config/webpack.config.js')
| -rw-r--r-- | config/webpack.config.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 2eb4444916b..c515a170d2d 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -123,10 +123,6 @@ var config = { } }, { - test: /locale\/\w+\/(.*)\.js$/, - loader: 'exports-loader?locales', - }, - { test: /monaco-editor\/\w+\/vs\/loader\.js$/, use: [ { loader: 'exports-loader', options: 'l.global' }, @@ -224,7 +220,7 @@ var config = { // create cacheable common library bundles new webpack.optimize.CommonsChunkPlugin({ - names: ['main', 'locale', 'common', 'webpack_runtime'], + names: ['main', 'common', 'webpack_runtime'], }), // enable scope hoisting |
