Skip to content

Commit

Permalink
Change name of m build
Browse files Browse the repository at this point in the history
So types are automatically discovered
  • Loading branch information
JAForbes committed Dec 4, 2024
1 parent 61c46ef commit 32479e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test": "node --import tsx --test test/*.ts",
"dev": "node --watch --import tsx --test test/*.ts",
"build:bundle:index": "esbuild lib/index.ts --bundle --format=esm --sourcemap --allow-overwrite --outfile=./dist/super-mithril-css.esm.js",
"build:bundle:m": "esbuild lib/m.ts --bundle --format=esm --sourcemap --allow-overwrite --outfile=./dist/mithril.esm.js",
"build:bundle:m": "esbuild lib/m.ts --bundle --format=esm --sourcemap --allow-overwrite --outfile=./dist/m.js",
"build:bundle": "npm run build:bundle:index && npm run build:bundle:m",
"build:types": "npx tsc -p tsconfig.test.json && npx tsc",
"build:test": "npm run test",
Expand All @@ -21,7 +21,7 @@
},
"exports": {
".": "./dist/super-mithril-css.esm.js",
"./m": "./dist/mithril.esm.js"
"./m": "./dist/m.js"
},
"repository": "[email protected]:JAForbes/super-mithril-css.git",
"files": [
Expand Down

0 comments on commit 32479e2

Please sign in to comment.