We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8fee89 commit f5f650aCopy full SHA for f5f650a
package.json
@@ -4,7 +4,9 @@
4
"description": "Define custom element to import in html",
5
"main": "dist/index.js",
6
"type": "module",
7
- "bin": "dist/bin.js",
+ "bin": {
8
+ "define-html": "dist/bin.js"
9
+ },
10
"scripts": {
11
"start": "http-server --cors --a localhost -p 3000",
12
"watch": "bun build ./src/index.ts --outdir ./dist --watch",
src/bin.ts
@@ -1,3 +1,5 @@
1
+#!/usr/bin/env node
2
+
3
import fg from "fast-glob";
import { JSDOM } from "jsdom";
0 commit comments