Merge branch 'master' into gh-344

This commit is contained in:
Rich Harris
2018-08-09 20:03:37 -04:00

View File

@@ -107,7 +107,7 @@ function testExport({ basepath = '' }) {
'svelte-logo-192.png', 'svelte-logo-192.png',
'svelte-logo-512.png', 'svelte-logo-512.png',
].map(file => { ].map(file => {
return basepath ? path.join(basepath.replace(/^\//, ''), file) : file; return basepath ? `${basepath.replace(/^[\/\\]/, '')}/${file}` : file;
}); });
// Client scripts that should show up in the extraction directory. // Client scripts that should show up in the extraction directory.