Skip to content

Commit

Permalink
use parcel's aliasing for react template example deps (#88)
Browse files Browse the repository at this point in the history
use parcel's aliasing for react template example deps. closes #64
  • Loading branch information
swyxio authored and jaredpalmer committed May 7, 2019
1 parent b8cb056 commit 5a5b9ac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/react/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
"start": "parcel index.html"
},
"dependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-app-polyfill": "^1.0.0"
},
"alias": {
"react": "../node_modules/react",
"react-dom": "../node_modules/react-dom"
},
"devDependencies": {
"@types/react": "^16.8.15",
"@types/react-dom": "^16.8.4",
Expand Down

0 comments on commit 5a5b9ac

Please sign in to comment.