diff options
author | 2021-05-09 07:59:37 +0530 | |
---|---|---|
committer | 2021-05-09 17:27:22 +0530 | |
commit | ade0d2f6aedaa117cc6fadfb0de85b7d1472e8d1 (patch) | |
tree | e9de722dda91486b2a86bd7632950c2b40377607 /webpack.config.base.js | |
parent | Clean the 'out' directory as well when running 'gulp clean'. (diff) | |
download | ferdium-app-ade0d2f6aedaa117cc6fadfb0de85b7d1472e8d1.tar.gz ferdium-app-ade0d2f6aedaa117cc6fadfb0de85b7d1472e8d1.tar.zst ferdium-app-ade0d2f6aedaa117cc6fadfb0de85b7d1472e8d1.zip |
Removed 'webpack.config.base.js' since it was not used anywhere.
(to protect against accidental corrupt packaged files)
Diffstat (limited to 'webpack.config.base.js')
-rw-r--r-- | webpack.config.base.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/webpack.config.base.js b/webpack.config.base.js deleted file mode 100644 index 5f81713ce..000000000 --- a/webpack.config.base.js +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | const path = require('path'); | ||
2 | const TerserPlugin = require('terser-webpack-plugin'); | ||
3 | |||
4 | const IS_DEV = process.env.NODE_ENV === 'development'; | ||
5 | |||
6 | module.exports = dir => ({ | ||
7 | context: dir, | ||
8 | entry: path.join(dir, '/src/index.ts'), | ||
9 | module: { | ||
10 | rules: [{ | ||
11 | test: /\.tsx?$/, | ||
12 | loader: 'ts-loader', | ||
13 | exclude: /node_modules/, | ||
14 | }], | ||
15 | }, | ||
16 | resolve: { | ||
17 | extensions: ['.tsx', '.ts', '.js'], | ||
18 | }, | ||
19 | devtool: 'inline-source-map', | ||
20 | mode: IS_DEV ? 'development' : 'production', | ||
21 | optimization: { | ||
22 | minimizer: !IS_DEV ? [new TerserPlugin()] : [], | ||
23 | }, | ||
24 | }); | ||