chore: set website url in netlify CI
This commit is contained in:
parent
f1cb7b83b4
commit
0101b7447f
1 changed files with 2 additions and 0 deletions
|
|
@ -2,9 +2,11 @@ import { rocketLaunch } from '@rocket/launch';
|
||||||
import { rocketSearch } from '@rocket/search';
|
import { rocketSearch } from '@rocket/search';
|
||||||
import { rocketBlog } from '@rocket/blog';
|
import { rocketBlog } from '@rocket/blog';
|
||||||
import { adjustPluginOptions } from 'plugins-manager';
|
import { adjustPluginOptions } from 'plugins-manager';
|
||||||
|
import { absoluteBaseUrlNetlify } from '@rocket/core/helpers';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
presets: [rocketLaunch(), rocketSearch(), rocketBlog()],
|
presets: [rocketLaunch(), rocketSearch(), rocketBlog()],
|
||||||
|
absoluteBaseUrl: absoluteBaseUrlNetlify('http://localhost:8080'),
|
||||||
setupBuildPlugins: [
|
setupBuildPlugins: [
|
||||||
adjustPluginOptions('copy', config => {
|
adjustPluginOptions('copy', config => {
|
||||||
config.patterns = [...config.patterns, 'docs/**/assets/**'];
|
config.patterns = [...config.patterns, 'docs/**/assets/**'];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue