Skip to content

Commit

Permalink
Fix the actual issue as to why min files were missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Lepore committed Jun 14, 2019
1 parent ca8a4f9 commit 9cfc1cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ cleanAll(true).then(() => {

const cssPath = path.join(__dirname, '..', 'dist', 'css');
const glob = require('glob');
const cssFiles = glob.sync(`${cssPath}/**/theme-soho-*.{css, min.css, css.map}`);
const cssFiles = glob.sync(`${cssPath}/**/theme-soho-*.css*`);

const proms = cssFiles.map(file => {
return new Promise((resolve, reject) => {
Expand Down
3 changes: 3 additions & 0 deletions scripts/configs/cssmin.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ module.exports = {
'dist/css/theme-uplift-light.min.css': ['dist/css/theme-uplift-light.css'],
'dist/css/theme-uplift-dark.min.css': ['dist/css/theme-uplift-dark.css'],
'dist/css/theme-uplift-contrast.min.css': ['dist/css/theme-uplift-contrast.css'],
'dist/css/high-contrast-theme.min.css': ['dist/css/high-contrast-theme.css'],
'dist/css/light-theme.min.css': ['dist/css/light-theme.css'],
'dist/css/dark-theme.min.css': ['dist/css/dark-theme.css'],
}
},
}
Expand Down

0 comments on commit 9cfc1cf

Please sign in to comment.