Skip to content
This repository has been archived by the owner on Nov 13, 2021. It is now read-only.

Commit

Permalink
corrects silliness of earlier config
Browse files Browse the repository at this point in the history
holds on core-js for now
  • Loading branch information
edm00se committed Jan 12, 2020
1 parent 84342fa commit 44e58ed
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Expand Up @@ -18,13 +18,13 @@ jobs:
- run: |
npm ci
npm run build
touch ./dist/.nojekyll
touch ./dist/browser/.nojekyll
- name: Deploy
uses: peaceiris/actions-gh-pages@v2.4.0
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./dist
PUBLISH_DIR: ./dist/browser
with:
emptyCommits: false
6 changes: 0 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 5 additions & 12 deletions package.json
Expand Up @@ -12,19 +12,12 @@
"homepage": "htps://edm00se.codes/parcel-v2-demo",
"license": "MIT",
"devDependencies": {
"core-js": "^3.6.3",
"parcel": "^2.0.0-alpha.3.2",
"regenerator-runtime": "^0.13.3"
"parcel": "^2.0.0-alpha.3.2"
},
"source": "src/index.html",
"browser": "dist/index.html",
"targets": {
"browser": {
"publicUrl": ".",
"browsers": [
"> 1%",
"not dead"
]
"browserslist": ["> 1%", "not dead"],
"targets": {
"browser": {
"publicUrl": "."
}
}
}
2 changes: 0 additions & 2 deletions src/main.js
@@ -1,5 +1,3 @@
import "core-js/stable";
import 'regenerator-runtime/runtime';
const app = document.getElementById('app');

app.innerHTML = `
Expand Down

0 comments on commit 44e58ed

Please sign in to comment.