Migrating EnableCameraScene to Svelte

This commit is contained in:
David Négrier 2021-06-01 16:17:36 +02:00
parent c7b3e3cd44
commit bf7083effc
10 changed files with 274 additions and 326 deletions

View file

@ -89,7 +89,15 @@ module.exports = {
preprocess: sveltePreprocess({
scss: true,
sass: true,
})
}),
onwarn: function (warning: { code: string }, handleWarning: (warning: { code: string }) => void) {
// See https://github.com/sveltejs/svelte/issues/4946#issuecomment-662168782
if (warning.code === 'a11y-no-onchange') { return }
// process as usual
handleWarning(warning);
}
}
}
},