Parcourir la source

fix: generate types when building example (#5480)

Aakansha Doshi il y a 2 ans
Parent
commit
2b71a1f0bd
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/packages/excalidraw/package.json

+ 1 - 1
src/packages/excalidraw/package.json

@@ -79,6 +79,6 @@
     "pack": "yarn build:umd && yarn pack",
     "start": "webpack serve --config webpack.dev-server.config.js",
     "install:deps": "yarn install --frozen-lockfile && yarn --cwd ../../../",
-    "build:example": "EXAMPLE=true webpack --config webpack.dev-server.config.js"
+    "build:example": "EXAMPLE=true webpack --config webpack.dev-server.config.js && yarn gen:types"
   }
 }