Skip to content

Commit

Permalink
Merge branch 'hotfix/2.2.4d' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
daveroverts committed Nov 9, 2021
2 parents 9fded1c + 3a2682e commit 94d5cc1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion webpack.mix.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const mix = require('laravel-mix');
const path = require('path');
require('laravel-mix-purgecss');

/*
Expand All @@ -18,7 +19,11 @@ mix.js('resources/js/app.js', 'public/js')
.sass('resources/sass/app.scss', 'public/css', {
additionalData: '$envColorPrimary: ' + (process.env.BOOTSTRAP_COLOR_PRIMARY || '#2C3E50') + '; $envColorSecondary: ' + (process.env.BOOTSTRAP_COLOR_SECONDARY || '#95a5a6') + '; $envColorTertiary: ' + (process.env.BOOTSTRAP_COLOR_TERTIARY || '#18BC9C') + '; $envColorSuccess: ' + (process.env.BOOTSTRAP_COLOR_SUCCESS || '#18BC9C') + '; $envColorWarning: ' + (process.env.BOOTSTRAP_COLOR_WARNING || '#F39C12') + '; $envColorDanger: ' + (process.env.BOOTSTRAP_COLOR_DANGER || '#E74C3C') + ';'
})
.purgeCss()
.purgeCss({
extend: {
content: [path.join(__dirname, 'vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*bootstrap-4.blade.php')],
},
})
.copyDirectory('node_modules/tinymce/icons', 'public/js/icons')
.copyDirectory('node_modules/tinymce/themes', 'public/js/themes')
.copyDirectory('node_modules/tinymce/skins', 'public/js/skins')
Expand Down

0 comments on commit 94d5cc1

Please sign in to comment.