Mise à jour modules front-end (suite)

This commit is contained in:
Fabrice PENHOËT 2020-09-09 16:18:48 +02:00
parent 620196e4e4
commit 6de1d97029

View File

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