Skip to content

Instantly share code, notes, and snippets.

@vamsiampolu
Last active April 18, 2016 23:55
Show Gist options
  • Save vamsiampolu/9df1760fbc928c11f1945eef6dcced7c to your computer and use it in GitHub Desktop.
Save vamsiampolu/9df1760fbc928c11f1945eef6dcced7c to your computer and use it in GitHub Desktop.
Simple webpack setup 01
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Simple Webpack Configuration</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<!-- any html -->
<script src="bundle.js"></script>
</body>
</html>
module.exports = {
entry:'./app.js',
output:{
filename:'bundle.js',
path:'./build'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment