Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Nov 16, 2022
1 parent 928b9c7 commit 54f96fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/package/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ export async function build(config, cwd = process.cwd()) {
const pkg = generate_pkg(cwd, files);

if (!pkg.dependencies?.svelte && !pkg.peerDependencies?.svelte) {
console.warn('Svelte libraries should include "svelte" in either "dependencies" or "peerDependencies".');
console.warn(
'Svelte libraries should include "svelte" in either "dependencies" or "peerDependencies".'
);
}

if (!pkg.svelte && files.some((file) => file.is_svelte)) {
Expand Down

0 comments on commit 54f96fc

Please sign in to comment.