get tests passing again

This commit is contained in:
Rich Harris
2018-08-25 14:01:07 -04:00
parent 9cbb8bdc33
commit 200c5fcbd2
5 changed files with 5 additions and 7 deletions

View File

@@ -484,7 +484,7 @@ function get_page_handler(
let scripts = []
.concat(chunks.main) // chunks main might be an array. it might not! thanks, webpack
.filter(file => !file.match(/\.map$/))
.map(file => `<script type="module" src='${req.baseUrl}/client/${file}'></script>`)
.map(file => `<script src='${req.baseUrl}/client/${file}'></script>`)
.join('');
let inline_script = `__SAPPER__={${[