Hello,
I’ve just deployed a page to the production server where npm is not present, and I prefer not to have it there. I’m wondering how to address the issue when making changes locally and uploading those changes (main.scss) doesn’t reflect any modifications on the production server. Is there a specific workaround or something I need to do to resolve this?
-
Production site editing scss
-
Hi, i have error on…
Hi, i have error on my console and I have error in my terminal when I run npm run watch
“WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
main.css (284 KiB)WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
main (484 KiB)
main.css
main.js
main.asset.phpWARNING 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/
”How to solve this error
Comments1-
This warning doesn’t produce an error and can be considered a recommendation. If you want to reduce the file size you can try to deactivate unneeded modules in
main.scss
(https://github.com/them-es/themes-starter-bootstrap/blob/main/assets/main.scss#L78-L112) but if this is not possible you can hide the warning via your webpack config: See https://stackoverflow.com/a/41167614 and https://github.com/webpack/webpack/issues/3486
Leave a Reply
You must be logged in to post a comment. -
-
Hi,
When my site is loading, this link https://tl.ytlogs.ru/timesince is running in the background.
I use this start theme for two my projects, now i have problems.
Comments0Leave a Reply
You must be logged in to post a comment. -
I get this /#more-57 in…
I get this /#more-57 in my url from archive page on read-more link. SO how can I get rid of it?
Tnx
Comments2-
He assumes that it is a post id
-
Not sure if this is the right place for this kind of support question as it’s not possible to replicate the issue without more information. Internal links (i.e. # page jumps) like you describe are not included in any of the Starter Themes we maintain. Probably WP stackexchange would be a better platform to ask for help.
Leave a Reply
You must be logged in to post a comment. -
If you have a basic understanding of frontend development, which is mandatory when working with a WP Starter theme, you should know that only the locally created build/dist files are relevant on production.
main.scss
is never touched or enqueued via the website:https://them.es/starter-bootstrap/getting-started/