You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you so much for this project! Helped me out immensely.
I had some issues deploying to Netlify after adding a plugin, and realised it's because the plugin said to use --save-dev, but Eleventail sets NODE_ENV=production:
I think it is set to production for build purposes. In Eleventail, purging and css optimization is done only when you are running the command netlify build.
I've seen this in a few other 11ty based templates that use Netlify for deployments.
The Netlify toml file contains a production context that will point to the production environment when you are running any command that isn't netlify dev.
Running netlify dev sets the node_env to be development thus overriding the production context.
Thank you so much for this project! Helped me out immensely.
I had some issues deploying to Netlify after adding a plugin, and realised it's because the plugin said to use
--save-dev
, but Eleventail sets NODE_ENV=production:eleventail/netlify.toml
Line 7 in acb2d47
It seems the Eleventy convention might be to use dev dependencies, relying on deploys to be NODE_ENV=development.
Just thought I'd
The text was updated successfully, but these errors were encountered: