Skip to content

Instantly share code, notes, and snippets.

@mrjackphil
Last active May 11, 2020 16:33
Show Gist options
  • Save mrjackphil/55ddcd19975d29b4dd3221c2ba4aadc5 to your computer and use it in GitHub Desktop.
Save mrjackphil/55ddcd19975d29b4dd3221c2ba4aadc5 to your computer and use it in GitHub Desktop.
Laravel mix - add files in manifest.json
const otherThemes = ALL_THEMES.filter(theme => theme !== CURRENT_THEME);
for (let i = 0; i < otherThemes.length; i++) {
mix.version(`public/css/${otherThemes[i]}.css`, `public/css/${otherThemes[i]}.css`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment