Mise à jour modules front-end

This commit is contained in:
Fabrice PENHOËT 2020-09-09 16:00:24 +02:00
parent dfeade6854
commit e539d03d1c

View File

@ -2,7 +2,7 @@ const path = require('path');
module.exports = module.exports =
{ {
mode: "development", mode: "production", // pour tester les fichiers en version compressée
devtool: "inline-source-map", devtool: "inline-source-map",
entry: entry:
{ {
@ -26,7 +26,7 @@ module.exports =
}, },
output: output:
{ {
filename: "./JS/[name].app.js", filename: "./JS/prod/[name].app.js",
path: path.resolve(__dirname, "public") path: path.resolve(__dirname, "public")
}, },
module: module: