Skip to content

Commit

Permalink
modified boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
Tokky0425 committed Oct 7, 2017
1 parent b327683 commit 0cc8254
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
.DS_Store
node_modules/
Empty file added public/bundle.js
Empty file.
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Title</title>
<link rel="stylesheet" href="/assets/style.css">
<link rel="stylesheet" href="/style.css">
</head>
<body>

<script src="/assets/bundle.js"></script>
<script src="/bundle.js"></script>
</body>
</html>
Empty file added public/style.css
Empty file.
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = [
{
entry: './src/js/app.js',
output: {
path: path.join(__dirname, 'public/assets'),
path: path.join(__dirname, 'public'),
filename: 'bundle.js'
},
module: {
Expand All @@ -27,7 +27,7 @@ module.exports = [
{
entry: './src/sass/style.scss',
output: {
path: path.join(__dirname, 'public/assets'),
path: path.join(__dirname, 'public'),
filename: 'style.css'
},
module: {
Expand Down

0 comments on commit 0cc8254

Please sign in to comment.