I’m using the Sage structure to filter the bootstrap components I’m using in a plugin that features modal pop-ups.
This is the basic structure:
├── assets
│ ├── manifest.json
│ ├── scripts
│ └── styles
├── bootstrap
│ ├── css
│ └── js
├── bower.json
├── bower_components
│ ├── bootstrap-sass-official
│ └── jquery
├── dist
│ ├── fonts
│ ├── scripts
│ └── styles
├── gulpfile.js
├── images
├── inc
│ ├── modal_descriptions.php
│ ├── modal_registration.php
│ ├── modal_teachers.php
│ ├── mz_events.php
│ ├── mz_mbo_init.inc
├── js
├── mZ-mindbody-api.php
├── mindbody-php-api
│ ├── MB_API.php
│ └── php_variants
├── node_modules
│ ├── asset-builder
│ ├── bower
│ ├── browser-sync
│ ├── del
│ ├── gulp
│ ├── gulp-autoprefixer
│ ├── gulp-changed
│ ├── gulp-concat
│ ├── gulp-flatten
│ ├── gulp-if
│ ├── gulp-imagemin
│ ├── gulp-jshint
│ ├── gulp-less
│ ├── gulp-minify-css
│ ├── gulp-plumber
│ ├── gulp-rename
│ ├── gulp-rev
│ ├── gulp-sass
│ ├── gulp-sourcemaps
│ ├── gulp-uglify
│ ├── imagemin-pngcrush
│ ├── jshint-stylish
│ ├── lazypipe
│ ├── merge-stream
│ ├── minimist
│ ├── run-sequence
│ ├── traverse
│ └── wiredep
├── package.json
└── readme.txt
The problem I’m having is that none of the bootstrap CSS is being compiled, nor is the dist/assets.json
file being created, although the dist
directories and files are being generated.
The following are the main gulp/bower/assets-manager files.
bower.json:
{
"name": "mz-mindbody-api",
"version": "1.8",
"authors": [
"Mike iLL Kilmer <mike@mzoo.org>"
],
"description": "Wordpress MBO API Integration Plugin.",
"keywords": [
"mindbody",
"wordpress",
"api"
],
"license": "MIT",
"homepage": "www.mZoo.org",
"dependencies": {
"bootstrap-sass-official": "~3.3.4"
},
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}
assets/manifest.json:
{
"dependencies": {
"main.js": {
"files": [
"scripts/main.js"
],
"main": true
},
"main.css": {
"files": [
"styles/main.scss"
],
"main": true
},
"admin-style.css": {
"files": [
"styles/admin-style.scss"
]
}
}
}
gulpfile.js matches the Sage one.
Can you see what is missing in my config/process?