initial commit. gotta go
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
import { defineConfig, Options } from "tsup";
|
||||
import { defineConfig, Options } from 'tsup';
|
||||
|
||||
// eslint-disable-next-line import/no-default-export
|
||||
export default defineConfig((options: Options) => ({
|
||||
entry: ["src/index.ts"],
|
||||
format: ["esm", "cjs"],
|
||||
entry: ['src/index.ts'],
|
||||
format: ['esm', 'cjs'],
|
||||
banner: {
|
||||
js: "'use client'",
|
||||
},
|
||||
dts: true,
|
||||
minify: true,
|
||||
clean: true,
|
||||
external: ["react", "react-dom"],
|
||||
external: ['react', 'react-dom'],
|
||||
injectStyle: true,
|
||||
...options,
|
||||
}));
|
||||
|
Reference in New Issue
Block a user