-
Notifications
You must be signed in to change notification settings - Fork 809
Closed
Description
Npm: 5.8.0
Node: 8.4.0
Laravel Mix: 1.7.2 and 2.1.0 Tested
Using purifyCss with npm run prod
results in not working Css, as a lot styles are missing, even though listed under whitelist: []
and used in blade files.
webpack.mix.js:
mix.js('resources/assets/js/app.js', 'public/js')
.js('resources/assets/js/admin.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css')
.sass('resources/assets/sass/admin.scss', 'public/css')
.copy('node_modules/cropperjs/dist/cropper.min.css', 'public/css')
.options({
purifyCss: {
purifyOptions: {
purifyCss: true,
whitelist: ['collapsing', 'callapse', 'show', 'collapsed', 'fa', '*fa*', 'blockquote']
},
}
});
Repository: https://github.com/3Descape/EV.git You should rename .env.example to .env and have a DB called ev.
rivajunior
Metadata
Metadata
Assignees
Labels
No labels