Assign Console to window using webpack
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
10e609f0b7
commit
41c48b423e
@ -4,3 +4,5 @@ import { Console } from './modules/console.js';
|
||||
$(function () {
|
||||
Console.initialize();
|
||||
});
|
||||
|
||||
export { Console };
|
||||
|
||||
@ -1495,6 +1495,4 @@ var ConsoleDebug = {
|
||||
}
|
||||
};
|
||||
|
||||
window.Console = Console;
|
||||
|
||||
export { Console };
|
||||
|
||||
@ -16,7 +16,7 @@ module.exports = [
|
||||
'codemirror/addon/lint/sql-lint': './js/src/codemirror/addon/lint/sql-lint.js',
|
||||
'common': './js/src/common.js',
|
||||
'config': './js/src/config.js',
|
||||
'console': './js/src/console.js',
|
||||
'console': { import: './js/src/console.js', library: { name: 'Console', type: 'window', export: 'Console' } },
|
||||
'cross_framing_protection': './js/src/cross_framing_protection.js',
|
||||
'datetimepicker': './js/src/datetimepicker.js',
|
||||
'database/central_columns': './js/src/database/central_columns.js',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user