Just add theme info to root style.css, compile everything to styles.min.css
This commit is contained in:
parent
2a557fdd98
commit
5e75884965
1
assets/css/styles.min.css
vendored
Normal file
1
assets/css/styles.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -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');
|
||||
}
|
||||
|
||||
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user