We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 327082c commit a3b5603Copy full SHA for a3b5603
__tests__/flow/flow.js.flow
@@ -7,7 +7,7 @@ import {
7
applyPatches,
8
Patch,
9
original
10
-} from "../../dist/index.js.flow"
+} from "../../dist/cjs/index.js.flow"
11
12
enableMapSet()
13
setAutoFreeze(true)
tsup.config.ts
@@ -30,7 +30,7 @@ export default defineConfig(options => {
30
sourcemap: true,
31
onSuccess() {
32
// Support Flow types
33
- fs.copyFileSync("src/types/index.js.flow", "dist/index.js.flow")
+ fs.copyFileSync("src/types/index.js.flow", "dist/cjs/index.js.flow")
34
}
35
},
36
// ESM, Webpack 4 support. Target ES2018 syntax to compile away optional chaining and spreads
0 commit comments