Skip to content

Commit

Permalink
Merge pull request #12 from SafdarJamal/feature/parcel-v2
Browse files Browse the repository at this point in the history
Upgrade to Parcel v2
  • Loading branch information
SafdarJamal committed Jun 8, 2022
2 parents 4ff1412 + 0ec44c9 commit bb50259
Show file tree
Hide file tree
Showing 6 changed files with 6,534 additions and 8,542 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
.pnp.js

# cache
/.cache
/.parcel-cache

# development
/dist

# production
/build
Expand Down
9 changes: 9 additions & 0 deletions .parcelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "@parcel/config-default",
"transformers": {
"*.{js,mjs,jsx,cjs,ts,tsx}": [
"@parcel/transformer-js",
"@parcel/transformer-react-refresh-wrap"
]
}
}
6 changes: 6 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact"
}
}
Loading

0 comments on commit bb50259

Please sign in to comment.