Use roots/sage-lib (incl. new config system)
This commit is contained in:
31
config/assets.php
Normal file
31
config/assets.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Assets Manifest
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Your asset manifest is used by Sage to assist WordPress and your views
|
||||
| with rendering the correct URLs for your assets. This is especially
|
||||
| useful for statically referencing assets with dynamically changing names
|
||||
| as in the case of cache-busting.
|
||||
|
|
||||
*/
|
||||
|
||||
'manifest' => get_theme_file_path().'/dist/assets.json',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Assets Path URI
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The asset manifest contains relative paths to your assets. This URI will
|
||||
| be prepended when using Sage's asset management system. Change this if
|
||||
| you are using a CDN.
|
||||
|
|
||||
*/
|
||||
|
||||
'uri' => get_theme_file_uri().'/dist',
|
||||
];
|
||||
Reference in New Issue
Block a user