-
Notifications
You must be signed in to change notification settings - Fork 24
Home
Braulio Diez edited this page Nov 11, 2022
·
3 revisions
Right now this process is a bit cumbersome, we expect to update it in the future.
In order to test an example with the current local build cut:
- Generate a build on the root project:
npm run build
- Update the following section on the lib (root) project:
./package.json
- "browser": "build/lib/index.js",
- "main": "build/lib/index.js",
- "types": "build/index.d.ts",
- "module": "build/es/index.js",
- "jsnext:main": "build/es/index.js",
+ "browser": "build/lib/index.js",
+ "main": "build/lib/index.js",
+ "types": "build/index.d.ts",
+ "module": "build/es/index.js",
+ "jsnext:main": "build/es/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/Lemoncode/react-promise-tracker.git"
},
- Now go to the example project