Skip to content

Commit

Permalink
fix: require
Browse files Browse the repository at this point in the history
  • Loading branch information
whes1015 committed Dec 3, 2024
1 parent a727459 commit d622d50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/js/plugin_edit/require.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ const logger = require('../js/core/utils/logger');

logger.info('Setting start');

require('../js/core/plugin')('yaml');

require('../js/core/config');
require('../js/plugin_edit/key');
require('../js/plugin_edit/main');
require('../js/plugin_edit/lang');
require('../js/core/plugin')('yaml');
3 changes: 2 additions & 1 deletion src/js/setting/require.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ const logger = require('../js/core/utils/logger');

logger.info('Setting start');

require('../js/core/plugin')('setting');

require('../js/setting/constant');
require('../js/core/config');
require('../js/setting/nav');
Expand All @@ -11,4 +13,3 @@ require('../js/setting/check_box');
require('../js/setting/plugin_list');
require('../js/setting/reset');
require('../js/setting/main');
require('../js/core/plugin')('setting');

0 comments on commit d622d50

Please sign in to comment.