mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 11:55:01 +03: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
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';
|
||||
}
|
||||
|
||||
if (DASH_DASH_ARGS.includes('lexical')) {
|
||||
COMMAND_GHOST.env['editor__url'] = 'http://localhost:4173/koenig-lexical.umd.js';
|
||||
}
|
||||
|
||||
async function handleStripe() {
|
||||
if (DASH_DASH_ARGS.includes('stripe') || DASH_DASH_ARGS.includes('all')) {
|
||||
if (DASH_DASH_ARGS.includes('offline')) {
|
||||
|
Loading…
Reference in New Issue
Block a user