npm.io
0.0.179 • Published 9 months agoCLI

@olmokit/cli

Licence
ISC
Version
0.0.179
Deps
58
Size
325 kB
Vulns
4
Weekly
0

cli

npm (scoped)

For all the documentation refer to the Olmo docs

Development

  • Run php artisan view:clear && composer dump after generate component and after core (not needed with ps-4 autoloading mechanism)
  • [] autogenerate dummy translations.csv files based on cms api response in case they miss
  • [] check should check that there is a /vendor folder, otherwise run composer install
  • [] Add this command somewhere to the end of your deploy script (I put it just after artisan up) php artisan opcache:clear source
  • [] Implement preload/prefetch, see article from webpack author and probably use preload-webpack-plugin.
  • CSS is inlined if the file size is minor than 50kb, as the AMP specification suggest. JS inline threshold is set to just 2kb instead, see this article.
  • [] evaluate the use of compression-webpack-plugin
  • see How to force https, www and a trailing slash with one redirect for a good explanation on how to manage SEO friendly redirects through .htaccess

Keywords