Skip to content

Commit

Permalink
fix: simplified rollup config
Browse files Browse the repository at this point in the history
  • Loading branch information
joebobmiles committed Jul 14, 2021
1 parent 2766083 commit 3f2cd4d
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,13 @@ export default defineConfig({
commonjs(),
typescript({
"tsconfig": "./tsconfig.json",
"include": "**/*.[jt]s",
"include": "**/*.(j|t)s",
})
],
"output": [
{
"name": "CommonJS Bundle",
"file": "dist/yjs.js",
"format": "cjs",
"exports": "default",
},
{
"name": "ECMAScript Bundle",
"file": "dist/yjs.mjs",
"format": "es",
}
],
"output":
{
"name": "yjs",
"file": "dist/yjs.js",
"format": "umd",
},
});

0 comments on commit 3f2cd4d

Please sign in to comment.