I believe there is a flag you can pass when you create your Phoenix application that removes webpack/npm/etc. If you are using Phoenix to build APIs, then you can pass `--no-html`, that will get rid of these and other dependencies. However, if you are writing JavaScript/CSS, than it is most likely that you want to use the tooling that exists in the Node ecosystem.
TL;DR - you can opt-out at any time.