Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4d1831d8
Commit
4d1831d8
authored
Aug 21, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable webpack.optimize.ModuleConcatenationPlugin during karma tests only
parent
e4608abe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
config/karma.config.js
config/karma.config.js
+1
-0
config/webpack.config.js
config/webpack.config.js
+1
-1
No files found.
config/karma.config.js
View file @
4d1831d8
...
...
@@ -8,6 +8,7 @@ if (webpackConfig.plugins) {
webpackConfig
.
plugins
=
webpackConfig
.
plugins
.
filter
(
function
(
plugin
)
{
return
!
(
plugin
instanceof
webpack
.
optimize
.
CommonsChunkPlugin
||
plugin
instanceof
webpack
.
optimize
.
ModuleConcatenationPlugin
||
plugin
instanceof
webpack
.
DefinePlugin
);
});
...
...
config/webpack.config.js
View file @
4d1831d8
...
...
@@ -234,7 +234,7 @@ var config = {
}),
// enable scope hoisting
//
new webpack.optimize.ModuleConcatenationPlugin(),
new
webpack
.
optimize
.
ModuleConcatenationPlugin
(),
// copy pre-compiled vendor libraries verbatim
new
CopyWebpackPlugin
([
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment