From 6f75bf7218ca9bd924c9b77d626f86f32c7e9a52 Mon Sep 17 00:00:00 2001 From: Max Klein Date: Mon, 11 Jan 2021 23:46:29 -0500 Subject: [PATCH] Fixed indentation in webpack.config.js Fixed the indentation so that it consistently uses 2 spaces throughout. Not a big change, but it bugged me so I fixed it --- webpack.config.js | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 23ce758..a244e3e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -8,25 +8,25 @@ module.exports = { "mode": "development", "entry": "src/index.tsx", "output": { - "path": __dirname+'/dist', - "filename": "[name].js" + "path": __dirname+'/dist', + "filename": "[name].js" }, "watch": false, "context": __dirname, // to automatically find tsconfig.json "module": { - "rules": [ - { - "test": /\.tsx?$/, - "exclude": /node_modules/, - "use": { - "loader": "ts-loader", - "options": { - "transpileOnly": false, // Set to true if you are using fork-ts-checker-webpack-plugin - "projectReferences": true - } - } + "rules": [ + { + "test": /\.tsx?$/, + "exclude": /node_modules/, + "use": { + "loader": "ts-loader", + "options": { + "transpileOnly": false, // Set to true if you are using fork-ts-checker-webpack-plugin + "projectReferences": true } - ] + } + } + ] }, resolve: { modules: [ @@ -55,4 +55,4 @@ module.exports = { }), // new ForkTsCheckerWebpackPlugin() ] -} \ No newline at end of file +}