Skip to content

Many warnings after building the project #33

@stringbeans

Description

@stringbeans

There seems to be a number of CSS warnings around syntax issues. Not sure of the rest of the warnings are relevant, but given that the project is focused on theming, I'm curious whether the CSS warnings are of concern.

Cheers!

REPRO:

  1. run npm run build

RESULTS:

npm run build

> [email protected] build
> tsc -b && vite build

vite v6.1.0 building for production...
node_modules/@react-jvectormap/core/dist/index.js (29:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (40:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (51:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (62:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (73:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (84:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (95:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (106:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (117:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (128:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (139:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (150:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (161:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (172:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (183:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (194:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (205:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (216:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (227:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (237:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (248:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (259:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (270:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (281:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (292:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (303:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (314:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (325:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (336:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (347:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (358:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (369:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (380:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (391:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
node_modules/@react-jvectormap/core/dist/index.js (402:0): Use of eval in "node_modules/@react-jvectormap/core/dist/index.js" is strongly discouraged as it poses security risks and may cause issues with minification.
✓ 240 modules transformed.
warnings when minifying css:
▲ [WARNING] Unexpected ")" [css-syntax-error]

    <stdin>:2:11702:
      2 │ ...bar::-webkit-scrollbar-thumb:is(){background-color:var(--color-g...
        ╵                                    ^


▲ [WARNING] Unexpected ")" [css-syntax-error]

    <stdin>:2:64087:
      2 │ ...ess::-webkit-scrollbar-thumb:is(){background-color:var(--color-g...
        ╵                                    ^


▲ [WARNING] Unexpected ")" [css-syntax-error]

    <stdin>:2:80041:
      2 │ ...}.simplebar-scrollbar:before:is(),.dark .simplebar-scrollbar:bef...
        ╵                                    ^


dist/index.html                     0.46 kB │ gzip:   0.31 kB
dist/assets/index-YD7pp8gI.css    117.24 kB │ gzip:  19.88 kB
dist/assets/index-CnQquDP6.js   1,941.23 kB │ gzip: 527.06 kB

(!) Some chunks are larger than 500 kB after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
✓ built in 2.21s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions