Reputation: 7398
I want to install with Yarn a lighter version of bootstrap but using "yarn add boostrap" there is not way to pass a config.json file. How can I do it?
https://getbootstrap.com/docs/3.4/customize/
https://yarnpkg.com/en/package/bootstrap
Upvotes: 0
Views: 185
Reputation: 2989
If I understand it right you want to install a customized (lighter) bootstrap version you created according to: https://getbootstrap.com/docs/3.4/customize/ or using a customizer tool.
Then use this command:
yarn add file:/path/to/local/folder
installs a package that is on your local file system.
The command
yarn add bootstrap
loads the precompiled version from the repo. so in your case the steps are:
Upvotes: 1