summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-21 16:59:23 +0100
committerLuke "Jared" Bennett <lbennett@gitlab.com>2017-05-21 16:59:23 +0100
commit5a6333bd0f01c542d7802f343d1cb10343f07c79 (patch)
treedffa7e24243b5d1811810c454a21fb84453c3dcd
parent2bf96331ae3a56db7d619fb7edd4feed1392ec11 (diff)
downloadgitlab-ce-fix-raven-jquery-dep.tar.gz
Remove common with raven chunk and removed fdescribefix-raven-jquery-dep
-rw-r--r--config/webpack.config.js10
-rw-r--r--spec/javascripts/raven/raven_config_spec.js2
2 files changed, 2 insertions, 10 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 6a44294f58c..7bc225968de 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -169,17 +169,9 @@ var config = {
],
}),
- // create cacheable commont library bundle for all jquery+bootstrap chunks
- new webpack.optimize.CommonsChunkPlugin({
- name: 'common',
- chunks: [
- 'raven',
- ],
- }),
-
// create cacheable common library bundles
new webpack.optimize.CommonsChunkPlugin({
- names: ['main', 'runtime'],
+ names: ['main', 'common', 'runtime'],
}),
// locale common library
diff --git a/spec/javascripts/raven/raven_config_spec.js b/spec/javascripts/raven/raven_config_spec.js
index 16aa8efb373..f71df518559 100644
--- a/spec/javascripts/raven/raven_config_spec.js
+++ b/spec/javascripts/raven/raven_config_spec.js
@@ -1,7 +1,7 @@
import Raven from 'raven-js';
import RavenConfig from '~/raven/raven_config';
-fdescribe('RavenConfig', () => {
+describe('RavenConfig', () => {
describe('IGNORE_ERRORS', () => {
it('should be an array of strings', () => {
const areStrings = RavenConfig.IGNORE_ERRORS.every(error => typeof error === 'string');