diff options
| author | Maks Jopek <maksymilian.jopek@prym-soft.pl> | 2021-05-26 08:38:37 +0200 |
|---|---|---|
| committer | Maks Jopek <maksymilian.jopek@prym-soft.pl> | 2021-05-26 08:38:37 +0200 |
| commit | 28497b06e208cd8fd4aa94756c7a5626c18d9878 (patch) | |
| tree | 1b44a0f30c7844ed2069a4b5bb06f2925e2b964e /webpack.config.ts | |
| parent | c7b3012c7aba9cdbe90932c9d37057f26b3a1e33 (diff) | |
| download | IRC-28497b06e208cd8fd4aa94756c7a5626c18d9878.tar.gz IRC-28497b06e208cd8fd4aa94756c7a5626c18d9878.tar.zst IRC-28497b06e208cd8fd4aa94756c7a5626c18d9878.zip | |
Added all features
Diffstat (limited to 'webpack.config.ts')
| -rw-r--r-- | webpack.config.ts | 8 |
1 files changed, 1 insertions, 7 deletions
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"), |
