mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-11 19:04:30 +00:00
doh
This commit is contained in:
@@ -107,7 +107,7 @@ function testExport({ basepath = '' }) {
|
||||
'svelte-logo-192.png',
|
||||
'svelte-logo-512.png',
|
||||
].map(file => {
|
||||
return basepath ? path.join(basepath.replace(/^\//, ''), file) : file;
|
||||
return basepath ? path.join(basepath.replace(/^[\/\\]/, ''), file) : file;
|
||||
});
|
||||
|
||||
// Client scripts that should show up in the extraction directory.
|
||||
|
||||
Reference in New Issue
Block a user