dart-sass/test/browser_test.html
Ed Rivas cca9464b09
Add support for running in the browser (#1895)
Closes #25

Co-authored-by: Jonny Gerig Meyer <jonny@oddbird.net>
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
2023-05-19 13:22:44 -07:00

25 lines
462 B
HTML

<!doctype html>
<html>
<head>
<title>Browser Test</title>
<link rel="x-dart-test" href="browser_test.dart">
<script src="packages/test/dart.js"></script>
</head>
<body>
<script type="importmap">
{
"imports": {
"immutable": "../node_modules/immutable/dist/immutable.es.js"
}
}
</script>
<script type="module">
import * as sass from '../build/npm/sass.default.js';
window.sass = sass;
</script>
</body>
</html>