Skip to content

Commit

Permalink
Updated asset bundle paths to move into directories.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwrobert committed Aug 31, 2016
1 parent 49ee6c8 commit da788e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<head>
<meta charset="UTF-8">
<title>React App</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="stylesheets/styles.css">
</head>
<body>

<div id="app">Hello World!</div>

<script src="main.js"></script>
<script src="js/main.js"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = {
output: {
path: path.resolve( __dirname, 'public' ),
publicPath: '/',
filename: 'main.js',
filename: '/js/main.js',
sourceMapFilename: 'main.js.map'
},

Expand Down Expand Up @@ -43,7 +43,7 @@ module.exports = {
},

plugins: [
new ExtractTextPlugin( 'public/styles.css', {
new ExtractTextPlugin( '/stylesheets/styles.css', {
allChunks: true
} )
]
Expand Down

0 comments on commit da788e0

Please sign in to comment.