Make the devserver serve from the proper location.

This commit is contained in:
James Aguilar 2018-05-04 23:36:39 -04:00
parent 3fe254494e
commit 96a8e084e9
2 changed files with 4 additions and 1 deletions

@ -11,7 +11,7 @@
<script src="https://unpkg.com/mocha@4.0.1/mocha.js"></script> <script src="https://unpkg.com/mocha@4.0.1/mocha.js"></script>
<script>mocha.setup('bdd')</script> <script>mocha.setup('bdd')</script>
<script type="module" src="../tests.bundle.js"></script> <script type="module" src="../dist/tests.bundle.js"></script>
<script type="module"> <script type="module">
mocha.checkLeaks(); mocha.checkLeaks();
mocha.run(); mocha.run();

@ -47,5 +47,8 @@ module.exports = {
namedChunks: false, namedChunks: false,
minimize: false, minimize: false,
portableRecords: true portableRecords: true
},
devServer: {
publicPath: "/dist",
} }
}; };