19 lines
646 B
Plaintext
19 lines
646 B
Plaintext
|
|
The file /home/project/webpack.config.js has been updated. Made 1 replacement.
|
||
|
|
|
||
|
|
Here's the result of running `cat -n` on a snippet of the edited file:
|
||
|
|
8→
|
||
|
|
9→ return {
|
||
|
|
10→ mode: isDev ? 'development' : 'production',
|
||
|
|
11→ entry: './src/index.tsx',
|
||
|
|
12→ output: {
|
||
|
|
13→ path: path.resolve(__dirname, 'dist'),
|
||
|
|
14→ filename: '[name].js',
|
||
|
|
15→ chunkFilename: '[name].chunk.js',
|
||
|
|
16→ publicPath: '/',
|
||
|
|
17→ clean: true,
|
||
|
|
18→ },
|
||
|
|
19→ optimization: {
|
||
|
|
20→ minimize: !isDev,
|
||
|
|
21→ minimizer: [
|
||
|
|
22→ new TerserPlugin({
|
||
|
|
23→ terserOptions: {
|