-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kapa local #238
Kapa local #238
Conversation
✅ Deploy Preview for docs-ui ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -66,7 +66,7 @@ module.exports = (src, dest, preview) => () => { | |||
// NOTE concat already uses stat from newest combined file | |||
.pipe(concat('js/site.js')), | |||
vfs | |||
.src('js/vendor/*([^.])?(.bundle).js', { ...opts, read: false }) | |||
.src(['js/vendor/*([^.])?(.bundle).js', '!js/vendor/kapa-widget.bundle.js'], { ...opts, read: false }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did we need this change?
Did you try using the method we used for the other vendor scripts that don't get bundled? For example prism or algolia?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you remove .bundle
from the script name, it shouldn't require this special treatment,
'gulpfile.js', | ||
'gulp.d/**/*.js', | ||
`${srcDir}/{helpers,js}/**/*.js`, | ||
`!${srcDir}/js/vendor/kapa-widget.bundle.js`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why we need this part.
Closing as Kapa doesn't seem to support local bundles. |
Adds Kapa locally