In a monorepo project, adding gatsby-plugin-netlify-cms slows down the "Building production JavaScript and CSS bundles" step.
Removing "gatsby-plugin-netlify-cms" from example/atsby-config.js brings build time back to normal.
The project should build within 5 seconds.
It takes 15-30sec.
System:
OS: macOS 10.14.6
CPU: (8) x64 Intel(R) Core(TM) i7-6920HQ CPU @ 2.90GHz
Shell: 5.3 - /bin/zsh
Binaries:
Node: 12.10.0 - /usr/local/bin/node
Yarn: 1.19.0 - /usr/local/bin/yarn
npm: 6.11.3 - /usr/local/bin/npm
Languages:
Python: 2.7.10 - /usr/bin/python
Browsers:
Chrome: 77.0.3865.90
Firefox: 60.9.0
Safari: 13.0.1
npmGlobalPackages:
gatsby-cli: 2.7.30
This becomes even more important now that Netlify will start to charge for build minutes.
Maybe @erquhart can help with that.
@erezrokah this issue is our first target when we start digging into the Gatsby integration.
Related to #14418.
Hiya!
This issue has gone quiet. Spooky quiet. 馃懟
We get a lot of issues, so we currently close issues after 30 days of inactivity. It鈥檚 been at least 20 days since the last update here.
If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!
Thanks for being a part of the Gatsby community! 馃挭馃挏
This is already prioritized by the netlify cms team. We should keep it open
I'm actively working on this issue (and all the other plugin related issues).
Currently trying to include netlify-cms-app and netlify-identity-widget as external dependencies to avoid having Webpack re-optimzing them.
Awesome work. My build time dropped from 110sec to 70sec. That's amazing 馃殌
Most helpful comment
Awesome work. My build time dropped from 110sec to 70sec. That's amazing 馃殌