Automatic And Most Easy Way To Reformat Your Codes Including JavaScript, JSON, CSS, Sass Files Using Prettier.js
Hope You Guys Like It So Lets Make It With Easy 3 Steps:
First Steps:
> npm i -D webpack-prettier-plugin prettier
Second Step: Open Your webpack.config.js
const WebpackPrettierPlugin = require('webpack-prettier-plugin')
Third Step: Also In Your webpack.config.js Plugins Block:
plugins: [
new PrettierPlugin()
]
All Done!
- follow the set up guide
- if problem still exists : let me know please
Supported Prettier Config And Prettier Ignore File
If You Have A Suggestion Please Let Me Know