feat: new bun_build and bun_compile, extend bun_install
This commit is contained in:
12
tests/bundle_test/site/index.html
Normal file
12
tests/bundle_test/site/index.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>rules_bun site build</title>
|
||||
<link rel="stylesheet" href="./styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">rules_bun</div>
|
||||
<script type="module" src="./main.ts"></script>
|
||||
</body>
|
||||
</html>
|
||||
1
tests/bundle_test/site/main.ts
Normal file
1
tests/bundle_test/site/main.ts
Normal file
@@ -0,0 +1 @@
|
||||
document.getElementById("app")?.setAttribute("data-built", "yes");
|
||||
4
tests/bundle_test/site/styles.css
Normal file
4
tests/bundle_test/site/styles.css
Normal file
@@ -0,0 +1,4 @@
|
||||
body {
|
||||
background: #f5efe2;
|
||||
color: #1f1b14;
|
||||
}
|
||||
Reference in New Issue
Block a user