Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redacteur-doc-technique
old-antora-ui-default-fork
Commits
2fee3132
Commit
2fee3132
authored
Nov 06, 2020
by
Dan Allen
Browse files
also compile and bundle vendor CSS
parent
afc24e5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
gulp.d/tasks/build.js
View file @
2fee3132
...
...
@@ -96,7 +96,7 @@ module.exports = (src, dest, preview) => () => {
// NOTE use this statement to bundle a JavaScript library that cannot be browserified, like jQuery
//vfs.src(require.resolve('<package-name-or-require-path>'), opts).pipe(concat('js/vendor/<library-name>.js')),
vfs
.
src
(
'
css/site.css
'
,
{
...
opts
,
sourcemaps
})
.
src
(
[
'
css/site.css
'
,
'
css/vendor/*.css
'
],
{
...
opts
,
sourcemaps
})
.
pipe
(
postcss
((
file
)
=>
({
plugins
:
postcssPlugins
,
options
:
{
file
}
}))),
vfs
.
src
(
'
font/*.{ttf,woff*(2)}
'
,
opts
),
vfs
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment