Commit 9ccdc675 authored by Zac Wood's avatar Zac Wood
Browse files

Started webpack config

parent 036ceecd
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return,n)},t.p="",t(t.s=0)}([function(e,n){document.body.appendChild(function(){const e=document.createElement("div");return e.innerHTML="Hi",e}())}]);
\ No newline at end of file
<!DOCTYPE html>
<title>Getting Started</title>
<script src="bundle.js"></script>
\ No newline at end of file
"name": "schedules_web",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no tests specified\" && exit 1",
"build": "webpack"
"license": "Apache",
"private": true,
"devDependencies": {
"webpack": "^4.6.0",
"webpack-cli": "^2.0.15"
function component() {
const element = document.createElement('div');
element.innerHTML = "Hi";
return element;
\ No newline at end of file
const path = require('path');
module.exports = {
entry: './src/index.js',
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist')
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment