Add webpack entrypoint script

pull/1/head
Nikita Tokarchuk 3 years ago
parent 263b911363
commit a49b8b75e5
Signed by: mainnika
GPG Key ID: A595FB7E3E56911C
  1. 0
      web/index.js
  2. 7
      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: {
},
};

Loading…
Cancel
Save