From 28497b06e208cd8fd4aa94756c7a5626c18d9878 Mon Sep 17 00:00:00 2001 From: Maks Jopek Date: Wed, 26 May 2021 08:38:37 +0200 Subject: Added all features --- webpack.config.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'webpack.config.ts') diff --git a/webpack.config.ts b/webpack.config.ts index 9ba1cd7..a516d18 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -1,9 +1,6 @@ import path from "path"; import HtmlWebpackPlugin from "html-webpack-plugin"; import TsconfigPathsPlugin from "tsconfig-paths-webpack-plugin"; -import dotenv from "dotenv"; - -dotenv.config(); const absolutePath = (relativePath: string) => path.resolve(__dirname, relativePath); @@ -29,10 +26,7 @@ module.exports = { extensions: [".ts", "..."], plugins: [new TsconfigPathsPlugin()], }, - devtool: - process.env.MODE === "development" - ? "eval-cheap-module-source-map" - : undefined, + devtool:"eval-cheap-module-source-map", output: { filename: "bundle.js", path: absolutePath("dist"), -- cgit v1.3.1