forked from ing-bank/lion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rocket.config.mjs
29 lines (28 loc) · 968 Bytes
/
rocket.config.mjs
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
import { rocketLaunch } from '@rocket/launch';
import { rocketSearch } from '@rocket/search';
import { rocketBlog } from '@rocket/blog';
import { adjustPluginOptions } from 'plugins-manager';
import { absoluteBaseUrlNetlify } from '@rocket/core/helpers';
export default {
presets: [rocketLaunch(), rocketSearch(), rocketBlog()],
absoluteBaseUrl: absoluteBaseUrlNetlify('http://localhost:8080'),
setupUnifiedPlugins: [
adjustPluginOptions('mdjsSetupCode', {
simulationSettings: {
simulatorUrl: '/simulator/',
languages: [
{ key: 'en-US', name: 'English (United States)' },
{ key: 'en-US', name: 'English (United Kingdom)' },
{ key: 'de-DE', name: 'German' },
{ key: 'nl-NL', name: 'Dutch' },
],
},
}),
],
setupBuildPlugins: [
adjustPluginOptions('copy', config => {
config.patterns = [...config.patterns, 'docs/**/assets/**'];
return config;
}),
],
};