prettier config

master
Tudor Stanciu 2020-04-10 01:42:32 +03:00
parent 167db9f371
commit 01cc5ddf7c
2 changed files with 12 additions and 9 deletions

3
.prettierrc.json Normal file
View File

@ -0,0 +1,3 @@
{
"trailingComma": "none"
}

View File

@ -12,7 +12,7 @@ module.exports = {
output: {
path: path.resolve(__dirname, "build"),
publicPath: "/",
filename: "bundle.js",
filename: "bundle.js"
},
devServer: {
stats: "minimal",
@ -20,25 +20,25 @@ module.exports = {
historyApiFallback: true,
disableHostCheck: true,
headers: { "Access-Control-Allow-Origin": "*" },
https: false,
https: false
},
plugins: [
new HtmlWebpackPlugin({
template: "src/index.html",
favicon: "src/favicon.ico",
}),
favicon: "src/favicon.ico"
})
],
module: {
rules: [
{
test: /\.(js|jsx)$/,
exclude: /node_modules/,
use: ["babel-loader"],
use: ["babel-loader"]
},
{
test: /(\.css)$/,
use: ["style-loader", "css-loader"],
},
],
},
use: ["style-loader", "css-loader"]
}
]
}
};