From af875b659d9fee9c35c8e922453c5e9c9b6891a6 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 10 Mar 2022 23:38:38 -0500 Subject: [PATCH] Apply prettier --- babel.config.js | 4 +++- src/index.css | 2 +- webpack.config.js | 13 +++++-------- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/babel.config.js b/babel.config.js index 58a6839..a8766f4 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,7 +1,9 @@ module.exports = { plugins: ['@babel/plugin-transform-runtime'], presets: [ - ['@babel/preset-env', { + [ + '@babel/preset-env', + { useBuiltIns: 'usage', corejs: 3, }, diff --git a/src/index.css b/src/index.css index c0995dd..d1c4760 100644 --- a/src/index.css +++ b/src/index.css @@ -11,7 +11,7 @@ } .fc .fc-timegrid-now-indicator-line { - border-color: rgba(255, 0, 0, .4); + border-color: rgba(255, 0, 0, 0.4); border-top-width: 1px; border-top-color: red; border-bottom-width: 9px; diff --git a/webpack.config.js b/webpack.config.js index 163cb1f..0de8d09 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -11,7 +11,7 @@ module.exports = { }, }, }, - devtool: "eval-cheap-source-map", + devtool: 'eval-cheap-source-map', module: { rules: [ { @@ -22,22 +22,19 @@ module.exports = { { test: /\.tsx?$/, exclude: /node_modules/, - use: [ - 'babel-loader', - 'ts-loader', - ], + use: ['babel-loader', 'ts-loader'], }, { test: /\.css$/i, - use: ["style-loader", "css-loader"], + use: ['style-loader', 'css-loader'], }, { test: /\/index.html$/i, use: { - loader: "file-loader", + loader: 'file-loader', options: { name: '[name].[ext]', - } + }, }, }, ],