Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 194 | Rev 200 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 194 Rev 197
Línea 1... Línea 1...
1
const path = require("path");
1
const path = require("path");
2
const isDevelopment = process.env.NODE_ENV === "development";
2
const isDevelopment = true || process.env.NODE_ENV === "development";
3
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
3
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
4
const TerserPlugin = require("terser-webpack-plugin");
4
const TerserPlugin = require("terser-webpack-plugin");
Línea 5... Línea 5...
5
 
5
 
6
// Add paths while bundling
6
// Add paths while bundling
Línea 227... Línea 227...
227
  entry: currentPath.entry,
227
  entry: currentPath.entry,
228
  output: {
228
  output: {
229
    path: currentPath.output,
229
    path: currentPath.output,
230
    filename: currentPath.filename,
230
    filename: currentPath.filename,
231
  },
231
  },
232
  watch: isDevelopment ? true : false,
232
  watch: false,
233
  mode: isDevelopment ? "development" : "production",
233
  mode: isDevelopment ? "development" : "production",
234
  resolve: {
234
  resolve: {
235
    extensions: [".js", ".jsx", ".scss"],
235
    extensions: [".js", ".jsx", ".scss"],
236
  },
236
  },
237
  module: {
237
  module: {