Skip to content

Commit

Permalink
Fix global nav dropdowns in Safari (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
colegoldsmith authored Dec 11, 2024
1 parent e18c7fb commit 18e4579
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gulp.d/tasks/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ module.exports = (src, dest, preview) => () => {
vfs
.src('js/vendor/*([^.])?(.bundle).js', { ...opts, read: false })
.pipe(bundle(opts))
.pipe(uglify({ output: { comments: /^! / } }))
// .pipe(uglify({ output: { comments: /^! / } }))
.pipe(map((file) => file.relative === 'js/vendor/floatingui.js')
? through() : uglify({ output: { comments: /^! / } }))
.pipe(gulpif(!preview, hash({ template: '<%= name %>-<%= hash %><%= ext %>' })))
.pipe(vfs.dest(dest))
.pipe(gulpif(!preview, hash.manifest('assets-manifest.json', { append: true })))
Expand Down

0 comments on commit 18e4579

Please sign in to comment.