Skip to content

Commit

Permalink
fix: removal of broken cjs flow
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseKoldewijn committed Aug 15, 2023
1 parent 2b5a3c0 commit da9abd6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 26 deletions.
1 change: 0 additions & 1 deletion packages/react-motion/dist/chunk-WDM2U72K.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/react-motion/dist/index.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/react-motion/dist/motion.js

This file was deleted.

23 changes: 10 additions & 13 deletions packages/react-motion/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,22 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"baseUrl": ".",
"composite": false,
"declaration": true,
"declarationMap": true,
"esModuleInterop": true,
"inlineSourceMap": false,
"lib": ["esnext", "DOM"],
"listEmittedFiles": false,
"listFiles": false,
"forceConsistentCasingInFileNames": true,
"inlineSources": false,
"isolatedModules": true,
"moduleResolution": "node",
"noFallthroughCasesInSwitch": true,
"pretty": true,
"resolveJsonModule": true,
"rootDir": "src",
"noUnusedLocals": false,
"noUnusedParameters": false,
"preserveWatchOutput": true,
"skipLibCheck": true,
"strict": true,
"traceResolution": false,
"jsx": "react"
},
"compileOnSave": true,
"include": ["src", "tsup.config.ts", "test"],
"exclude": ["dist"]
"exclude": ["node_modules"]
}
8 changes: 0 additions & 8 deletions packages/react-motion/tsconfig.types.json

This file was deleted.

3 changes: 1 addition & 2 deletions packages/react-motion/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ import { defineConfig } from "tsup";
export default defineConfig((opts: any) => ({
entryPoints: ["./src/index.ts", "./src/motion.tsx"],
splitting: true,
format: ["esm", "cjs"],
format: ["esm"],
dts: true,
clean: !opts.watch,
sourcemap: false,
minify: true,
outDir: "dist",
target: "esnext",
}));

1 comment on commit da9abd6

@vercel
Copy link

@vercel vercel bot commented on da9abd6 Aug 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.