Skip to content

Instantly share code, notes, and snippets.

View debelistic's full-sized avatar
🏠
Working from home

Victor Awotidebe debelistic

🏠
Working from home
View GitHub Profile
import React from 'react';
import ReactDom from 'react-dom';
import App from './components/App';
ReactDom.render(<App />, document.getElementById('root'));
@debelistic
debelistic / webpack.config.js
Last active August 13, 2019 16:37
A sample webpack configuration file
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
entry: './src/index.js',
output: {
path: path.join(__dirname, '/dist'),
filename: 'app_bin.js',
},
devServer: {