Logo
Explore Help
Register Sign In
Mirrors/lucide
1
0
Fork 0
You've already forked lucide
mirror of https://github.com/lucide-icons/lucide.git synced 2025-12-20 09:19:21 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
212b488dae6a6ea376b613cb6c901b79f887ced0
lucide/packages/lucide-svelte/scripts/license.mjs

12 lines
306 B
JavaScript
Raw Normal View History

feat(lucide-svelte): Aliased imports for direct imports (#2584) * Add way to import aliased icons directly * Format files * Fix tests * Format files
2024-11-15 13:51:58 +01:00
import pkg from '../package.json' with { type: 'json' };
fix: Add the license banner inside of the script tag instead of an HTML comment (#1811) * add banner inside of the script tag instead * renamed script * Update packages/lucide-svelte/scripts/license.mjs Co-authored-by: Jakob Guddas <github@jguddas.de> * Update packages/lucide-svelte/scripts/appendLicense.mjs Co-authored-by: Eric Fennis <eric.fennis@gmail.com> * renamed file --------- Co-authored-by: Jakob Guddas <github@jguddas.de> Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
2024-01-29 13:48:14 -05:00
export function getJSBanner() {
return `/**
* @license ${pkg.name} v${pkg.version} - ${pkg.license}
*
* This source code is licensed under the ${pkg.license} license.
* See the LICENSE file in the root directory of this source tree.
*/
`;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 109ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API