🥑 Dev Advocate @Draftbit | ReactNative & Expo enthusiast | Personal blog: amanhimself.dev
Yes, I use Bower to maintain front-end dependencies, mostly for my side projects. Whatever you say, Bower is good and I am too anxious to mess with npm dependencies for front-end development. Plus, I feel that maintaining front-end dependencies with Bower helps in keeping my application’s skeleton clean.
After you are done with building your application, all you have to do is add
Bower as an npm dependency in
package.json file and then add a script under
npm scripts to execute a command that will install bower dependencies before the application is deployed on Heroku.
Bower as dependency in
And then add a
postinstall command in
npm scripts :
"postinstall": "./node_modules/bower/bin/bower install"
You can read more about customizing Heroku Build Process here.
Create your free account to unlock your custom reading experience.