forked from lucide-icons/lucide
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add the license banner inside of the script tag instead of an HT…
…ML comment (lucide-icons#1811) * add banner inside of the script tag instead * renamed script * Update packages/lucide-svelte/scripts/license.mjs Co-authored-by: Jakob Guddas <[email protected]> * Update packages/lucide-svelte/scripts/appendLicense.mjs Co-authored-by: Eric Fennis <[email protected]> * renamed file --------- Co-authored-by: Jakob Guddas <[email protected]> Co-authored-by: Eric Fennis <[email protected]>
- Loading branch information
1 parent
480b96e
commit 3424821
Showing
4 changed files
with
24 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import pkg from '../package.json' assert { type: 'json' }; | ||
|
||
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. | ||
*/ | ||
`; | ||
} |