- New option:
preload
, boolean:- Enables higher priority for loading symbols;
- Disabled by default; More information:
- Fixed the leading slash problem in
dev
mode (serve mode); - The
placeholder
option removed; - Placing the
<link>
tag intoindex.html
is no longer required:- The plugin will add
<link>
tag to the<head>
by itself.
- The plugin will add
- Performance improvement:
- using
for..of
andArray::push()
instead ofArray::from()
.
- using
- Extracted helpers to make the plugin code more readable.
- Improving documentation;
- Clarifying Node.js 20 and 22 as the system requirement.
- The
placeholder
is now a complete URL of the Material Symbols CDN; - New option
getUrl
is a function returning that URL based on theiconNamesParam
argument; - All that allows to keep the HTML link this way:
<link rel="stylesheet" href="__MATERIAL_SYMBOLS__" />
- Fixed debugging message;
- Two configuration options:
placeholder
andcomponent
.
- Initial release, basic operation.