Skip to content

Commit 9903992

Browse files
committed
fix: remove export of * spring-easing
1 parent 4b6cc3c commit 9903992

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import type { FunctionNode } from 'postcss-value-parser'
55
import type { TypeCSSEasingOptions, TypeFrameFunction } from 'spring-easing'
66
import type { PluginCreator } from 'postcss'
77

8-
export * from 'spring-easing'
9-
108
export function toSnake(str: string) {
119
return str[0] + str.slice(1).replace(/[A-Z]/g, letter => {
1210
return '-' + letter.toLowerCase()

vite.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ export default defineConfig({
1111
build: {
1212
outDir: "lib",
1313
minify: false,
14+
sourcemap: true,
1415
rollupOptions: {
15-
external: ["postcss", "postcss-value-parser", "spring-easing"]
16+
external: ["postcss", "postcss-value-parser", "spring-easing"],
17+
output: { exports: "named" },
1618
},
1719
lib: {
1820
entry: "src/index.ts",

0 commit comments

Comments
 (0)