-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,11 +8,23 @@ You must have a local copy of this repository somewhere on your machine. From th | |
|
||
Once that is done, you will run: | ||
|
||
**Unix/MacOS:** | ||
|
||
```shell | ||
~/primereact/ $ npm run dev:link | ||
``` | ||
|
||
**Windows:** | ||
dev:link:windows | ||
|
||
```shell | ||
~/primereact/ $ npm run build:lib:dev | ||
~/primereact/ $ npm run dev:link:windows | ||
``` | ||
|
||
This will alter the bundler to only emit non-minified esm modules. The aliasing plugin has also been disabled for components. Once everything has been bundled (this can take a few minutes) you should keep this command running. It will allow for incremental builds as you develop in the `primereact/` directory. It will be finished when the terminal displays: `[20xx-xx-xx 00:00:00] waiting for changes...`. | ||
This will alter the bundler to only emit non-minified esm modules. The aliasing plugin has also been disabled for components. Once everything has been bundled (this can take a few minutes) you should keep this command running. It will allow for incremental builds as you develop in the `primereact/` directory. | ||
|
||
> **Note** | ||
> It will be finished when the terminal displays: `[20xx-xx-xx 00:00:00] waiting for changes...`. | ||
You will now `cd` into the `primereact/dist` directory and run: | ||
|
||
|
@@ -29,7 +41,8 @@ This will create a symlink in your global npm scope so that other local packages | |
└── [email protected] -> ./../../../Users/${user}/primereact/dist # <-- this must be in the dist/ dir !!! | ||
``` | ||
|
||
**Reminder! the XX.X.XX version must be a valid [valid semantic version](https://docs.npmjs.com/about-semantic-versioning) that you are using in your local project** | ||
> **Warning** | ||
> Reminder! the XX.X.XX version must be a valid [valid semantic version](https://docs.npmjs.com/about-semantic-versioning) that you are using in your local project | ||
### Now change your directory to your local project you are developing on! | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters