How to build primereact 7.2.1 and 8.7.3

UI Components for React
Post Reply
miguel_maguca
Posts: 2
Joined: 17 Nov 2021, 16:26

06 Jan 2023, 23:07

What are the steps to build a 7.2.1 and 8.7.3 version of Primereact so I can test it before making a pull request?

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

09 Jan 2023, 16:14

Not sure for 7.2.1 but for 8.7.3 if you want to do a full build you can run the following:

Code: Select all

npm install
npm run build:lib
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

miguel_maguca
Posts: 2
Joined: 17 Nov 2021, 16:26

09 Jan 2023, 18:16

Thx.
I also had to run an install of babel core after "npm i" to get the build to work.
Last edited by miguel_maguca on 09 Jan 2023, 18:23, edited 1 time in total.

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

09 Jan 2023, 18:18

Not that I am aware of I usually just run `npm run build:lib` you would probably have to customize your own rollup.js script to get it to only have the stuff you want.
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 19 guests