Skip to content

Commit

Permalink
chore: experiment with mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
sbsrnt committed Apr 13, 2024
1 parent 6983128 commit 8cd4570
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions packages/writ-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@
"url": "git+https://github.com/exile-watch/writ.git",
"directory": "packages/writ-icons"
},
"main": "dist/index.esm.js",
"module": "dist/index.esm.js",
"main": "dist/index.mjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"files": ["dist"],
"scripts": {
"_clean": "del-cli dist",
"_build": "rollup -c",
Expand Down
2 changes: 1 addition & 1 deletion packages/writ-icons/rollup.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import createRollupConfig from "@exile-watch/rollup-config";

export default createRollupConfig();
export default createRollupConfig({ outputFormats: ["module"] });

0 comments on commit 8cd4570

Please sign in to comment.