Revisions for ⁨Webpack Config⁩

View the changes made to this paste.

unlisted ⁨1⁩ ⁨file⁩ 2022-03-11 17:22:20 UTC

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