diff --git a/package.json b/package.json index c4e104b08..748260a57 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "examples:serve": "live-server ./examples --port=8081 --mount=/:./examples/public", "examples:update-json": "node scripts/update-examples-json.js", "preexamples:build": "rimraf dist_examples", - "examples:build": "webpack --config webpack.prod.babel.js --config-name examples" + "examples:build": "npm run examples:update-json && webpack --config webpack.prod.babel.js --config-name examples" }, "repository": { "type": "git",