app.js so heavy

Hi,

My package app.js so heavy without knowing why.

Any help is appreciated.

Thanks in advance

===============
app.js 276 kb

Hash: 280112be188408d3c873
Version: webpack 3.12.0
Time: 541ms
Asset Size Chunks Chunk Names
app.js 276 kB 0 [emitted] [big] main
./app.css 1.99 kB 0 [emitted] main
[6] ./wwwroot/sources/views/chat.js 862 bytes {0} [optional] [built] [failed]
[1 error]
[15] ./wwwroot/sources/views ^\.\/.*$ 235 bytes {0} [optional] [built]
+ 26 hidden modules

=================
simple Error

WARNING in ./wwwroot/sources/views/chat.js
Module build failed: SyntaxError: C:/datos/jorge/UnifiedRChat/UnifiedRChat/Unifi
edRChat/wwwroot/sources/views/chat.js: Unexpected token, expected ; (119:31)

117 | }).then(function (result) {
118 |

119 | console.log(result)M
| ^
120 | // thisview.reloadImages();
121 | }).fail(function () {
122 | //webix.message(_(“default_error”));

@ ./wwwroot/sources/views ^\.\/.*$
@ ./node_modules/webix-jet/dist/JetApp.js
@ ./node_modules/webix-jet/dist/index.js
@ ./wwwroot/sources/app.js
@ multi ./wwwroot/sources/app.js ./wwwroot/sources/app.js
Hash: 9a11e116b5157c9c4fb7
Version: webpack 3.12.0

===========================
After fix error app.js 5.15MB :=0

Time: 72480ms
Asset Size Chunks Chunk Names
app.js 5.15 MB 0 [emitted] [big] main
./app.css 1.99 kB 0 [emitted] main
[6] ./wwwroot/sources/views/chat.js 6.92 kB {0} [optional] [built]
[15] ./wwwroot/sources/views ^\.\/.*$ 235 bytes {0} [optional] [built]
[29] ./wwwroot/lib/webix/webix.js 1.02 MB {0} [built]
+ 26 hidden modules
Hash: 7847a00196cf737cc3b2
Version: webpack 3.12.0

Ok, i think find bug,

When i use alert(“some text”) automatically i dont know how added

import { alert } from “…/…/…/lib/webix/pivot/codebase/webix/webix”;

after remove the import MB of my app.js down again.