You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/03/23 01:08:00 UTC

[pulsar-site] branch main updated: fix: add dev cmd

This is an automated email from the ASF dual-hosted git repository.

urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 18eb200  fix: add dev cmd
18eb200 is described below

commit 18eb200bcd6f189ce04fb62cb4f7dd95a8fd7cd0
Author: LiLi <ur...@apache.org>
AuthorDate: Wed Mar 23 09:07:42 2022 +0800

    fix: add dev cmd
    
    Signed-off-by: LiLi <ur...@apache.org>
---
 site2/website-next/package.json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/site2/website-next/package.json b/site2/website-next/package.json
index f36ea04..2287087 100644
--- a/site2/website-next/package.json
+++ b/site2/website-next/package.json
@@ -4,7 +4,8 @@
   "private": true,
   "scripts": {
     "docusaurus": "docusaurus",
-    "start": "NODE_OPTIONS=--max_old_space_size=16000 node scripts/split-swagger-by-version.js && docusaurus start",
+    "start": "NODE_OPTIONS=--max_old_space_size=16000 docusaurus start",
+    "dev": "NODE_OPTIONS=--max_old_space_size=16000 node scripts/split-swagger-by-version.js && docusaurus start",
     "build": "NODE_OPTIONS=--max_old_space_size=16000 docusaurus build",
     "preview": "npm run build && sh scripts/docker.sh",
     "swizzle": "docusaurus swizzle",