Skip to content

Instantly share code, notes, and snippets.

@Porter97
Created March 23, 2020 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Porter97/4ddb049cbff0766a9c399fdce4aeb07b to your computer and use it in GitHub Desktop.
Save Porter97/4ddb049cbff0766a9c399fdce4aeb07b to your computer and use it in GitHub Desktop.
const webpack = require('webpack');
const config = {
entry: __dirname + '/js/index.jsx',
output: {
path: __dirname + '/dist',
filename: 'bundle.js',
},
resolve: {
extensions: ['.js', '.jsx', '.css']
},
};
module.exports = config;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment