Comments (3)
Hi @mityaua
This deprecation warning will not prevent the template from proper building your assets.
As far as I can see the warning is generated from the postcss
here is the issue discussing this warning with different versions of node DeprecationWarning: Use of deprecated folder mapping.
from frontend-webpack-boilerplate.
Images part of the content (<img>
tags and files placed under src/images/content
) are not part of the design of the page and does not go through optimisation as the assumption here is that they have been uploaded via CMS or something similar, like they are dynamic generated images - published in "runtime" etc.
All images part of the design itself (CSS backgrounds, etc.) are being optimised during the "build" assets process.
This is the default behaviour, you can change directory names or reconfigure if you want to optimise the content images if you build a fully static templates that are not targeted to be embedded in a server side web application.
from frontend-webpack-boilerplate.
Yes, indeed, your "plate" works without errors, only this notification. Updating node to version 15.10 solves this problem.
Does this mean that the next warning has nothing to do with this? Or am I doing something wrong with the pictures?
I just put image in the src/images folder and then npm run production (or npm run build). Compression not working? File size has not changed.
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (500 KiB).
This can impact web performance.
Assets:
images/content/everest_mountain.jpg (3.03 MiB)
WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
webpack 5.22.0 compiled with 2 warnings in 22824 ms
...from frontend-webpack-boilerplate.
Related Issues (20)
- install fails on OSX 17 apple m1 chip HOT 1
- Move index.html and other .html files outside of the /src & /dist folders HOT 1
- Documentation is not up to date or webpack config is wrong HOT 6
- Add support/configuration for prettier code formatter tool
- Extra libraries HOT 1
- Vulnerabilities found after npm ci HOT 1
- Not es2015 HOT 2
- How to handle html pages if i have more than 20 html pages? HOT 3
- Eslint configuration HOT 1
- Images referenced in SASS are not building properly HOT 4
- Fonts fail to load HOT 3
- Multiple Sass & JS files | Question HOT 3
- Cache busting HOT 3
- Video Assets HOT 2
- Multiple-folder structure HOT 1
- Add ability to launch the dev environment with a normal domain, instead of localhost:8080 HOT 1
- Cannot include partials in ejs files HOT 2
- Configure Dependant for keeping npm packages up-to-date HOT 1
- Replace sass-lint with stylelint
- How to compile without MiniCssExtractPlugin? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frontend-webpack-boilerplate.