mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Added --lexical
support to yarn dev
refs https://github.com/TryGhost/Team/issues/3240 - this adds support for `--lexical` to `yarn dev`, which sets the env variable so Ghost uses a local Lexical instance and not the CDN version
This commit is contained in:
parent
c0be5c91f7
commit
8127a481ca
1 changed files with 4 additions and 0 deletions
4
.github/dev.js
vendored
4
.github/dev.js
vendored
|
@ -83,6 +83,10 @@ if (DASH_DASH_ARGS.includes('search') || DASH_DASH_ARGS.includes('all')) {
|
||||||
COMMAND_GHOST.env['sodoSearch__styles'] = 'http://localhost:5370/umd/main.css';
|
COMMAND_GHOST.env['sodoSearch__styles'] = 'http://localhost:5370/umd/main.css';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (DASH_DASH_ARGS.includes('lexical')) {
|
||||||
|
COMMAND_GHOST.env['editor__url'] = 'http://localhost:4173/koenig-lexical.umd.js';
|
||||||
|
}
|
||||||
|
|
||||||
async function handleStripe() {
|
async function handleStripe() {
|
||||||
if (DASH_DASH_ARGS.includes('stripe') || DASH_DASH_ARGS.includes('all')) {
|
if (DASH_DASH_ARGS.includes('stripe') || DASH_DASH_ARGS.includes('all')) {
|
||||||
if (DASH_DASH_ARGS.includes('offline')) {
|
if (DASH_DASH_ARGS.includes('offline')) {
|
||||||
|
|
Loading…
Reference in a new issue