Just add theme info to root style.css, compile everything to styles.min.css

This commit is contained in:
Lewis Dale 2023-01-18 08:58:04 +00:00
parent 2a557fdd98
commit 5e75884965
4 changed files with 20 additions and 3 deletions

1
assets/css/styles.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,7 @@
add_theme_support( 'title-tag' );
function zxs_add_themes() {
wp_enqueue_style('zxs_globals', get_stylesheet_directory_uri() . "/style.css", array(), wp_get_theme()->get( 'Version' ), 'all');
wp_enqueue_style('zxs_globals', get_stylesheet_directory_uri() . "/assets/css/styles.min.css", array(), wp_get_theme()->get( 'Version' ), 'all');
}

View File

@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build:css": "postcss assets/css/styles.css > style.css"
"build:css": "postcss assets/css/styles.css > assets/css/styles.min.css"
},
"repository": {
"type": "git",

File diff suppressed because one or more lines are too long