Commit d29dc55d authored by Stan Hu's avatar Stan Hu

Resolve conflicts in config/webpack.config.js

parent 0daf3be9
...@@ -40,7 +40,6 @@ function generateEntries() { ...@@ -40,7 +40,6 @@ function generateEntries() {
pageEntries.forEach(( path ) => generateAutoEntries(path)); pageEntries.forEach(( path ) => generateAutoEntries(path));
<<<<<<< HEAD
// EE-specific auto entries // EE-specific auto entries
const eePageEntries = glob.sync('pages/**/index.js', { cwd: path.join(ROOT_PATH, 'ee/app/assets/javascripts') }); const eePageEntries = glob.sync('pages/**/index.js', { cwd: path.join(ROOT_PATH, 'ee/app/assets/javascripts') });
eePageEntries.forEach(( path ) => generateAutoEntries(path, 'ee')); eePageEntries.forEach(( path ) => generateAutoEntries(path, 'ee'));
...@@ -48,10 +47,6 @@ function generateEntries() { ...@@ -48,10 +47,6 @@ function generateEntries() {
autoEntriesCount = Object.keys(autoEntries).length; autoEntriesCount = Object.keys(autoEntries).length;
=======
autoEntriesCount = Object.keys(autoEntries).length;
>>>>>>> upstream/master
const manualEntries = { const manualEntries = {
balsamiq_viewer: './blob/balsamiq_viewer.js', balsamiq_viewer: './blob/balsamiq_viewer.js',
common: './commons/index.js', common: './commons/index.js',
...@@ -69,10 +64,7 @@ function generateEntries() { ...@@ -69,10 +64,7 @@ function generateEntries() {
protected_branches: './protected_branches', protected_branches: './protected_branches',
protected_tags: './protected_tags', protected_tags: './protected_tags',
registry_list: './registry/index.js', registry_list: './registry/index.js',
<<<<<<< HEAD
snippet: './snippet/snippet_bundle.js', snippet: './snippet/snippet_bundle.js',
=======
>>>>>>> upstream/master
sketch_viewer: './blob/sketch_viewer.js', sketch_viewer: './blob/sketch_viewer.js',
stl_viewer: './blob/stl_viewer.js', stl_viewer: './blob/stl_viewer.js',
terminal: './terminal/terminal_bundle.js', terminal: './terminal/terminal_bundle.js',
...@@ -89,7 +81,6 @@ function generateEntries() { ...@@ -89,7 +81,6 @@ function generateEntries() {
test: './test.js', test: './test.js',
u2f: ['vendor/u2f'], u2f: ['vendor/u2f'],
webpack_runtime: './webpack.js', webpack_runtime: './webpack.js',
<<<<<<< HEAD
// EE-only // EE-only
add_gitlab_slack_application: 'ee/add_gitlab_slack_application/index.js', add_gitlab_slack_application: 'ee/add_gitlab_slack_application/index.js',
...@@ -106,8 +97,6 @@ function generateEntries() { ...@@ -106,8 +97,6 @@ function generateEntries() {
service_desk: 'ee/projects/settings_service_desk/service_desk_bundle.js', service_desk: 'ee/projects/settings_service_desk/service_desk_bundle.js',
service_desk_issues: 'ee/service_desk_issues/index.js', service_desk_issues: 'ee/service_desk_issues/index.js',
roadmap: 'ee/roadmap', roadmap: 'ee/roadmap',
=======
>>>>>>> upstream/master
}; };
return Object.assign(manualEntries, autoEntries); return Object.assign(manualEntries, autoEntries);
...@@ -399,11 +388,7 @@ if (IS_DEV_SERVER) { ...@@ -399,11 +388,7 @@ if (IS_DEV_SERVER) {
callback(); callback();
}) })
}, },
<<<<<<< HEAD
},
=======
} }
>>>>>>> upstream/master
); );
if (DEV_SERVER_LIVERELOAD) { if (DEV_SERVER_LIVERELOAD) {
config.plugins.push(new webpack.HotModuleReplacementPlugin()); config.plugins.push(new webpack.HotModuleReplacementPlugin());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment