Skip to content

Commit

Permalink
Do not extract reactive search to the vendor file
Browse files Browse the repository at this point in the history
  • Loading branch information
royduin committed May 17, 2022
1 parent 5b6da60 commit af6e467
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion webpack.mix.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ const path = require('path');
mix
.setPublicPath('public')
.js('resources/js/app.js', 'public/js').vue()
.extract()
.extract({
test(module) {
let moduleName = module.nameForCondition()
return !moduleName.includes('@appbaseio/reactivesearch-vue')
&& !moduleName.includes('vue-slider-component')
&& moduleName.includes('node_modules')
}
})
.postCss('resources/css/app.css', 'public/css', [
require('tailwindcss'),
]).alias({
Expand Down

0 comments on commit af6e467

Please sign in to comment.