Remove sass:compile and add prestart npm scripts
-I figure this should be changed now while it's fresh on my mind and may come in handy down the road to have the ability to auto-run 'npm update' when new packages are added and/or to more easily do any other future pre-run processing
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Check if new module directory exists
|
||||
#if [ ! -d ./node_modules/change_to_module_dir_name ]; then
|
||||
# # Install updated packages
|
||||
# npm update
|
||||
#fi
|
||||
|
||||
# Ensure that selected theme is properly installed
|
||||
sh ./scripts/sass_theme_reader.sh
|
||||
|
||||
# Run sass module to generate minified css from scss file
|
||||
./node_modules/.bin/sass --no-source-map --style=compressed ./public/css/style.scss ./public/css/style.min.css
|
||||
Reference in New Issue
Block a user