Resolve CE/EE diff in main.js

Moving ee/main.js to ee/main_ee.js allows to add a noop file in CE and
utilize ee_else_ce.
This commit is contained in:
Lukas Eipert 2019-07-04 12:18:51 +02:00
parent e049fe0d2e
commit 0e4cef8589
No known key found for this signature in database
GPG Key ID: 148BEA37CB35B2AC
2 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,8 @@ import GlFieldErrors from './gl_field_errors';
import initUserPopovers from './user_popovers';
import { __ } from './locale';
import 'ee_else_ce/main_ee';
// expose jQuery as global (TODO: remove these)
window.jQuery = jQuery;
window.$ = jQuery;

View File

@ -0,0 +1 @@
// This is an empty file to satisfy ee_else_ce import for the EE main entry point