Skip to content

Commit a4227b4

Browse files
committed
bundle up the css and js, include directly. no outside dependencies at all.
1 parent e7330da commit a4227b4

File tree

1,055 files changed

+200627
-16
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,055 files changed

+200627
-16
lines changed

dist/app.js

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/resources/views/default.php renamed to dist/default.php

+8-15
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@
44
<head>
55
<meta charset="utf-8">
66
<title>Pretty PHP info</title>
7+
<link rel="shortcut icon" href="https://www.php.net/favicon.ico?v=2">
8+
79
<meta name="description" content="View your phpinfo() output in a pretty, responsive interface">
810
<meta name="viewport" content="width=device-width, initial-scale=1">
911

10-
<script src="https://cdn.tailwindcss.com"></script>
11-
12-
<script defer src="https://unpkg.com/@alpinejs/[email protected]/dist/cdn.min.js"></script>
13-
<script defer src="https://unpkg.com/[email protected]/dist/cdn.min.js"></script>
12+
<style>
13+
<?php include(__DIR__ . "/styles.css"); ?>
14+
</style>
15+
<script type="module">
16+
<?php include(__DIR__ . "/app.js"); ?>
17+
</script>
1418
</head>
1519

1620
<body class="antialiased font-sans bg-gray-100">
@@ -178,16 +182,5 @@ class="space-y-4 lg:space-y-8 scroll-mt-32" id="<?php echo $module->key() ?>">
178182
}))
179183
});
180184
</script>
181-
<style>
182-
[x-cloak] {
183-
display: none !important;
184-
}
185-
select {
186-
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
187-
background-position: right 0.5rem center;
188-
background-repeat: no-repeat;
189-
background-size: 1.5em 1.5em;
190-
}
191-
</style>
192185
</body>
193186
</html>

dist/styles.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/acorn

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/cssesc

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/detective

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/nanoid

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/resolve

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/tailwind

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/tailwindcss

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)