No need to use /assets/

This commit is contained in:
Timothy Farrell 2018-01-10 21:03:24 -06:00
parent 64aea6e62d
commit 1f6f9b0bb7
2 changed files with 3 additions and 3 deletions

View File

@ -2,9 +2,9 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/assets/app.css">
<link rel="stylesheet" href="/app.css">
</head>
<body>
<script src="/assets/app.bundle.js"></script>
<script src="/app.bundle.js"></script>
</body>
</html>

View File

@ -11,7 +11,7 @@ module.exports = {
output: {
path: path.resolve(__dirname, './dist'),
filename: '[name].bundle.js',
publicPath: '/assets'
publicPath: '/'
},
devServer: {
contentBase: path.resolve(__dirname, './src'),