forked from open-wc/custom-elements-manifest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rocket.config.js
32 lines (29 loc) · 961 Bytes
/
rocket.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { absoluteBaseUrlNetlify } from '@rocket/core/helpers';
import { rocketBlog } from '@rocket/blog';
import { rocketLaunch } from '@rocket/launch';
import { rocketSearch } from '@rocket/search';
import { codeTabs } from 'rocket-preset-code-tabs';
export default {
absoluteBaseUrl: absoluteBaseUrlNetlify('http://localhost:8080'),
presets: [
rocketLaunch(),
rocketBlog(),
rocketSearch(),
codeTabs({
collections: {
packageManagers: {
npm: { label: 'NPM', iconHref: '/_merged_assets/_static/logos/npm.svg' },
yarn: { label: 'Yarn', iconHref: '/_merged_assets/_static/logos/yarn.svg' },
pnpm: { label: 'PNPM', iconHref: '/_merged_assets/_static/logos/pnpm.svg' },
},
demo: {
input: { label: 'Input' },
output: { label: 'Output' }
}
},
}),
],
eleventy(eleventyConfig) {
eleventyConfig.addWatchTarget('docs/_assets/**/*.css');
}
}