netlify-plugin-submit-sitemap icon indicating copy to clipboard operation
netlify-plugin-submit-sitemap copied to clipboard

fix: check production build based on context only

Open MohammadHH opened this issue 1 year ago • 1 comments

constants.IS_LOCAL shouldn't be considered in checking production builds as it returns true when site is deployed from environments other than netlify (eg. using netlify deploy within github workflow).

MohammadHH avatar Mar 06 '23 19:03 MohammadHH

solves #36

MohammadHH avatar Mar 06 '23 19:03 MohammadHH