So I downloaded that from github and trying to do some customizations. But if I do npm run-script build:release it or build:webpack-release it just fails, what is the command I should be using to make a distributable version which I can then use in my other packages ?
Nevermind. I figured out. The below are the steps
- npm run-script generate-config
- npm run-script build:release → for this to work in package.json we need to do a grunt build:release --force, ie need to add a ‘–force’ option in package.json or else it complains of being unable to do a clean
- npm run-script build:webpack-release
- mv target/js dist/
Now the “dist” is what is required for this module to be used in another module. So what I did is I committed the dist folder with the okta-signin-widget repo and then from my other module I just do an npm install https://github.com/gopakumarce/okta-signin-widget.git# --save
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.