fix(example): issue with gh-pages deploy

This commit is contained in:
divlo 2021-06-17 19:09:46 +02:00
parent efc06a9639
commit c133ba5a20
2 changed files with 2 additions and 2 deletions

View File

@ -26,4 +26,4 @@ jobs:
run: 'npm run build'
- name: 'Build Example'
run: 'cd example && npm ci && npm run build -- --public-url "https://divlo.github.io/react-component-form/"'
run: 'cd example && npm ci && npm run build'

View File

@ -4,7 +4,7 @@
"license": "MIT",
"scripts": {
"start": "parcel index.html",
"build": "parcel build index.html"
"build": "parcel build index.html --public-url '/react-component-form/'"
},
"alias": {
"react": "../node_modules/react",