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> <html>
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/assets/app.css"> <link rel="stylesheet" href="/app.css">
</head> </head>
<body> <body>
<script src="/assets/app.bundle.js"></script> <script src="/app.bundle.js"></script>
</body> </body>
</html> </html>

View File

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