mirror of
https://gitlab.com/novaloop-oss/angular/localization.git
synced 2025-12-06 04:51:52 +00:00
18 lines
665 B
TypeScript
18 lines
665 B
TypeScript
import {baseHrefRewrite} from '@scullyio/scully-plugin-base-href-rewrite';
|
|
import {ScullyConfig, setPluginConfig} from '@scullyio/scully';
|
|
|
|
const {FixStaticLinks} = require('./scully/plugins/fixStaticLinks');
|
|
|
|
const defaultPostRenderers = [baseHrefRewrite, FixStaticLinks];
|
|
setPluginConfig(baseHrefRewrite, {href: `/${process.env.LOCALE}/`});
|
|
|
|
export const config: ScullyConfig = {
|
|
projectRoot: './src',
|
|
projectName: 'localization',
|
|
distFolder: `./dist/localization/${process.env.LOCALE}`,
|
|
outDir: `./dist/static/${process.env.LOCALE}`,
|
|
puppeteerLaunchOptions: {args: ['--no-sandbox', '--disable-setuid-sandbox']},
|
|
defaultPostRenderers,
|
|
routes: {}
|
|
};
|