Automatically process your source files with Prettier when bundling via Webpack.
I suggest you either use my plugin, prettier-webpack-plugin, or prettier-loader if you need this capability as a loader
You can find a plugin version of this loader here: prettier-webpack-plugin
Simply run npm install --save-dev prettier-webpack-loader
or yarn add --dev prettier-webpack-loader
to install.