shoelace/web-test-runner.config.js

14 wiersze
310 B
JavaScript

import { esbuildPlugin } from '@web/dev-server-esbuild';
export default {
plugins: [esbuildPlugin({ ts: true, target: 'auto' })],
testRunnerHtml: testFramework => `
<html>
<head></head>
<body>
<script type="module" src="${testFramework}"></script>
</body>
</html>
`
};