Skip to content

Commit

Permalink
use esbuild + cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lekoala committed Jan 10, 2022
1 parent 1c9fd9b commit 70e41ac
Show file tree
Hide file tree
Showing 9 changed files with 270 additions and 274 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "last-icon",
"version": "1.2.5",
"version": "1.3.0",
"description": "One custom icon element to rule them all",
"authors": ["LeKoala"],
"keywords": ["DOM", "icons", "icon", "custom", "element", "component", "es6"],
Expand Down
24 changes: 12 additions & 12 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// defaultStroke: 1,
};
</script>
<script src="last-icon.js"></script>
<script src="last-icon.min.js"></script>
<link rel="stylesheet" href="last-icon.css"></link>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/mvp.css" />
</head>
Expand Down Expand Up @@ -249,21 +249,21 @@ <h2>Advanced usage</h2>
<h3>Host your own icons</h3>
<p>You can point any library to a local path or to another cdn using <code>paths</code>.</p>
<pre>
window.LastIcon = {
paths: {
bootstrap: "./vendor/bootstrap",
},
};
window.LastIcon = {
paths: {
bootstrap: "./vendor/bootstrap",
},
};
</pre>
<h3>Change other settings</h3>
<p>You can also configure the following settings: <code>aliases</code>, <code>types</code>, <code>prefixes</code>, <code>defaultSet</code></p>
<pre>
window.LastIcon = {
types: {
boxicons: "regular",
},
defaultSet: "boxicons",
};
window.LastIcon = {
types: {
boxicons: "regular",
},
defaultSet: "boxicons",
};
</pre>
</main>
<footer>
Expand Down
1 change: 0 additions & 1 deletion last-icon.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 70e41ac

Please sign in to comment.