I wouldn't say it is part of the precepts as the Buddha put them down - not the basic 5 at least, since those mainly have to do with the internal world of the mind. I know there are some things you could say are connected with this in the monks & nuns precepts, like not destroying plants. But of course in the time of the Buddha 2500 years ago, environmental issues were not really there, so we can't expect to find those things in those teachings. There is a modernization of the precepts by Thich Nhat Hahn which however reflects an attitude like this which I think is worth reflecting on:
Reverence For Life
Aware of the suffering caused by the destruction of life, I am committed to cultivating the insight of interbeing and compassion and learning ways to protect the lives of people, animals, plants, and minerals. I am determined not to kill, not to let others kill, and not to support any act of killing in the world, in my thinking, or in my way of life. Seeing that harmful actions arise from anger, fear, greed, and intolerance, which in turn come from dualistic and discriminative thinking, I will cultivate openness, non-discrimination, and non-attachment to views in order to transform violence, fanaticism, and dogmatism in myself and in the world.
Aware of the suffering caused by exploitation, social injustice, stealing, and oppression, I am committed to practicing generosity in my thinking, speaking, and acting. I am determined not to steal and not to possess anything that should belong to others; and I will share my time, energy, and material resources with those who are in need. I will practice looking deeply to see that the happiness and suffering of others are not separate from my own happiness and suffering; that true happiness is not possible without understanding and compassion; and that running after wealth, fame, power and sensual pleasures can bring much suffering and despair. I am aware that happiness depends on my mental attitude and not on external conditions, and that I can live happily in the present moment simply by remembering that I already have more than enough conditions to be happy. I am committed to practicing Right Livelihood so that I can help reduce the suffering of living beings on Earth and reverse the process of global warming.
In my eyes, however, it can become a sort of trap when we think Buddhism is meant to make the world one harmonious and healthy place. Some Buddhists seem to have this ideal picture, but obviously it won't happen. For me Buddhism is mainly about ending the process of suffering we create for ourselves.