js webpack problem with the recommended size limit (244 KiB) and child resolve

Encerrado Postado há 2 anos Pago na entrega
Encerrado Pago na entrega

i deploy saleor e commerce from github.. some view pages are missed because the issue with bundle size of js

it's written with ts and js

comment for the problem in the saleor dashboard

........................

...

[login to view URL] 3.47 MiB 0 [emitted] [immutable] [big] dashboard

...

..

Entrypoint dashboard [big] = [login to view URL]

[67] ./node_modules/@material-ui/utils/esm/[login to view URL] + 7 modules 7.26 KiB {0} [built]

| 8 modules

[115] (webpack)/buildin/[login to view URL] 472 bytes {0} [built]

[136] ./node_modules/history/esm/[login to view URL] + 2 modules 30.6 KiB {0} [built]

| 3 modules

[145] ./node_modules/react-router/esm/[login to view URL] + 1 modules 29.2 KiB {0} [built]

| 2 modules

[153] ./node_modules/@material-ui/styles/esm/[login to view URL] + 3 modules 10.4 KiB {0} [built]

| 4 modules

[337] (webpack)/buildin/[login to view URL] 573 bytes {0} [built]

[668] ./[login to view URL] 7.76 KiB {0} [built]

[700] ./node_modules/@material-ui/core/esm/styles/[login to view URL] + 8 modules 21.2 KiB {0} [built]

| 9 modules

[983] ./locale lazy ^\.\/.*\.json$ namespace object 160 bytes {0} [built]

[1105] ./src/[login to view URL] + 1552 modules 5.09 MiB {0} [built]

..

.........

....

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).

This can impact web performance.

Assets:

[login to view URL] (3.47 MiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.

Entrypoints:

dashboard (3.47 MiB)

[login to view URL]

Child html-webpack-plugin for "*.{ts,tsx,html}":

1 asset

Entrypoint undefined = *.{ts,tsx,html}

[0] ./node_modules/html-webpack-plugin/lib/[login to view URL]!./src/[login to view URL] 466 bytes {0} [built]

[2] (webpack)/buildin/[login to view URL] 472 bytes {0} [built]

[3] (webpack)/buildin/[login to view URL] 497 bytes {0} [built]

+ 1 hidden module

..

so if u can do this task , pls lets me know..

and by the storefront has the same problem

the comment like this

Entrypoint app [big] = [login to view URL] js/[login to view URL] [login to view URL] js/[login to view URL]

[4] ./src/@next/globalStyles/[login to view URL] 266 bytes {0} [built]

[21] ./node_modules/react-router-dom/esm/[login to view URL] + 3 modules 40.4 KiB {0} [built]

| 4 modules

[53] ./node_modules/react-router/esm/[login to view URL] + 4 modules 59.8 KiB {0} [built]

| 5 modules

[86] (webpack)/buildin/[login to view URL] 497 bytes {0} [built]

[95] ./node_modules/use-query-params/esm/[login to view URL] + 12 modules 31.3 KiB {0} [built]

| 13 modules

[174] ./src/[login to view URL] 422 bytes {0} [built]

[200] ./node_modules/react-transition-group/esm/[login to view URL] + 6 modules 26 KiB {0} [built]

| 7 modules

[356] ./node_modules/styled-components/node_modules/@emotion/is-prop-valid/dist/[login to view URL] + 1 modules 4.36 KiB {0} [built]

| 2 modules

[357] ./node_modules/merge-anything/dist/[login to view URL] + 1 modules 7.85 KiB {0} [built]

| 2 modules

[360] ./src/[login to view URL] 4.38 KiB {0} [built]

[384] ./src/@next/globalStyles/[login to view URL] 5.78 KiB {0} [built]

[581] ./src/app/[login to view URL] 136 bytes {0} [built]

[1105] ./src/[login to view URL] 370 bytes {0} [built]

[1106] ./node_modules/@sentry/browser/esm/[login to view URL] + 36 modules 111 KiB {0} [built]

| 37 modules

[1109] ./node_modules/@sentry/apm/esm/[login to view URL] + 6 modules 44.4 KiB {0} [built]

| 7 modules

+ 1150 hidden modules

a possible solution to split the js files

Node.js JavaScript Typescript CSS GraphQL

ID do Projeto: #30156440

Sobre o projeto

4 propostas Projeto remoto Ativo em há 2 anos

4 freelancers estão ofertando em média €136 nesse trabalho

bobrovpavelwork

Hello, Mohanad. How are you today? I am a Node.js and Typescript expert so that I can help you perfectly. Let's start work now. Thanks Pavel

€150 EUR em 1 dia
(31 Comentários)
5.8
lazardevobr2

Hello. I've just checked your job description carefully. I'm a senior full-stack developer with 7+ years experiences in web development using CorePHP/Laravel/CI/Wordpress, React/Angular, Mysql/Postgresql/Mongo and so o Mais

€100 EUR in 5 dias
(0 Comentários)
0.0