Why does `npm run twill-build` take so long?April 24, 2019 at 2:14pm
It takes me 5-10mins to run and seems like it reinstalls node packages every time. Is there no way to shorten this?
April 24, 2019 at 4:21pm
April 25, 2019 at 3:20pm
May 3, 2019 at 10:15am
May 6, 2019 at 4:49pm
Hi , we are using
npm ciinstead of
npm installto make sure all Twill users share the same dependencies. It would be a nightmare if Twill install was downloading different libraries version for each users, ignoring our package-lock.json. Read more here https://docs.npmjs.com/cli/ci. I think there's an opportunity to avoid it when developing though, as those dependencies wouldn't change unless you are updating Twill. I think we should add an option to bypass
twill-buildwhen in development.
June 7, 2019 at 8:16am
It's this bit that seems to take forever cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js