webpack.config.js
@@ -0,0 +1,10 @@
+const path = require('path');
+
+module.exports = {
+ entry: './public/home/scripts/_mongo.js',
+ mode: 'development',
+ output: {
+ filename: 'mongo.js',
+ path: path.resolve(__dirname, '..', 'public', 'home', 'scripts'),
+ },
+};
\ No newline at end of file