Webpack does not create or update index.asset.php file in build folder

I could not reproduce the issue, however bear in mind that despite This is a collection of reusable scripts tailored for WordPress development. initial sentence in package description, @wordpress/scripts are primarily meant for block development, as block.json are scanned to find entry points. You can also provide entry points yourself, by specifying extra parameter for … Read more

Blog styling in SASS

Well what is part of the blog and what belongs to the rest of the site will probably differ so it is hard to split. E.g. is header and footer the same? Anything else that is shared? Anyway, here are two options: 1.Separate instances If the blog and the rest of the site look totally … Read more

Correct way of Enqueue self hosted fonts in sass project

I think the better way would be declaring a file named _fontface.scss and put the below code blocks there – @mixin fontFace($family,$src,$style: normal,$weight: normal) { @font-face { font-family: $family; src: url(‘#{$src}.eot’); // IE9 compat src: url(‘#{$src}.eot?#iefix’) format(’embedded-opentype’), // IE8 and below url(‘#{$src}.woff’) format(‘woff’), // standards url(‘#{$src}.ttf’) format(‘truetype’), // Safari, Android, iOS url(‘#{$src}.svg##{$family}’) format(‘svg’); // legacy … Read more