From 7c88c0bcca6e47cca4e2632df8ced778fa38c341 Mon Sep 17 00:00:00 2001 From: "caleb.mabry.15@cnu.edu" Date: Wed, 23 Mar 2022 00:33:18 -0400 Subject: Final commit --- webpack.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'webpack.config.js') diff --git a/webpack.config.js b/webpack.config.js index 68546c3..0ffb9ab 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -23,7 +23,7 @@ module.exports = { }, devtool: 'source-map', resolve: { - extensions: ["", ".webpack.js", ".web.js", ".ts", ".tsx", ".js"], + extensions: ['.js', '.jsx', '.tsx', '.ts', '.json'], }, devServer: { static: { @@ -58,7 +58,7 @@ module.exports = { }, }, }, - { test: /\.tsx?$/, loader: "ts-loader" }, + { test: /\.ts?$/, loader: "ts-loader" }, // All output '.js' files will have any sourcemaps re-processed by 'source-map-loader'. { test: /\.js$/, loader: "source-map-loader" }, ], @@ -98,7 +98,7 @@ module.exports = { new webpack.DefinePlugin({ 'process.env': JSON.stringify(process.env), }), - new WorkboxPlugin.GenerateSW(), + // new WorkboxPlugin.GenerateSW(), ], -- cgit