From a49b8b75e53ca6fbca642131a5ba3f2f6f9462d7 Mon Sep 17 00:00:00 2001 From: Nikita Tokarchuk Date: Fri, 3 Dec 2021 04:25:18 +0100 Subject: [PATCH] Add webpack entrypoint script --- web/index.js | 0 webpack.config.js | 7 +++++++ 2 files changed, 7 insertions(+) create mode 100644 web/index.js diff --git a/web/index.js b/web/index.js new file mode 100644 index 0000000..e69de29 diff --git a/webpack.config.js b/webpack.config.js index abcd19e..613d84f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,5 +1,12 @@ +const path = require('path'); module.exports = { + entry: './web/index.js', + output: { + clean: true, + filename: 'js-bin/app.js', + path: path.resolve(__dirname, 'out'), + }, module: { }, };