Skip to content

Commit 53c4b2c

Browse files
authored
restore demo builds (#3781)
1 parent bab0558 commit 53c4b2c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

examples/cm6-graphql-parcel/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"private": true,
88
"scripts": {
99
"start": "parcel src/index.html -p 8080",
10-
"build": "parcel build src/index.html --public-url /"
10+
"build": "parcel build src/index.html --public-url /",
11+
"build-demo": "yarn build && mkdirp ../../packages/graphiql/cm6 && cp -r dist ../../packages/graphiql/cm6/"
1112
},
1213
"browserslist": {
1314
"production": [

examples/monaco-graphql-webpack/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"description": "A simple monaco example with webpack and typescript",
77
"scripts": {
88
"build": "cross-env NODE_ENV=production webpack-cli",
9-
"start": "cross-env NODE_ENV=development webpack-cli serve"
9+
"start": "cross-env NODE_ENV=development webpack-cli serve",
10+
"build-demo": "yarn build && mkdirp ../../packages/graphiql/monaco && cp -r dist/* ../../packages/graphiql/monaco/"
1011
},
1112
"dependencies": {
1213
"graphql": "^16.9.0",

0 commit comments

Comments
 (0)