Skip to content

Commit c0c8e6b

Browse files
committed
improved imports
1 parent feff3fb commit c0c8e6b

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

dist/index.cjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/index.umd.cjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
File renamed without changes.
File renamed without changes.

src/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
import { comment } from "postcss"
33
import generateShadows from "./generateShadows"
44

5-
const version = require("../package.json")
6-
const plugin = require("tailwindcss/plugin")
5+
import {version} from "../package.json";
6+
7+
import plugin from "tailwindcss/plugin";
8+
79
const { default: flattenColorPalette } = require("tailwindcss/lib/util/flattenColorPalette")
810

911
interface StepProps {

0 commit comments

Comments
 (0)