Browse Source

fix: generate types when building example (#5480)

Aakansha Doshi 2 years ago
parent
commit
2b71a1f0bd
1 changed files with 1 additions and 1 deletions
  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"
   }
 }