yarn build runs just fine but dfx deploy frontend --network ic
return
warnings when minifying css:
▲ [WARNING] Unexpected "$" [css-syntax-error]
<stdin>:844:50:
844 │ ...URL=react-big-calendar.css.map */$focused-outline-color: #4c9ffe;
╵ ^
(!) 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.
Installing canisters...
I changed my vite.cofnig.js
alias: {
'@': path.resolve(__dirname, 'src/frontend'),
'$': path.resolve(__dirname, 'src'),
// Here we tell Vite the "fake" modules that we want to define
...aliases,
},