const config = {
  entry: './src/index.js'
};

module.exports = config;

@@ -3,44 +3,210 @@
 nst 
-config = %7B%0A  entry: './src/index.js'
+path = require('path'); // We can use whatever nodejs package%0A%0Aconst config = %7B%0A  entry: './src/index.js',%0A  output: %7B%0A    path: path.resolve(__dirname, 'build'), //./build%0A    filename: 'bundle.js'%0A  %7D
 %0A%7D;%0A

Set name and path of the output file