Skip to content

Commit

Permalink
fix export in TS file for correct behavior with require in TW config
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Warner authored and Michael Warner committed Sep 18, 2023
1 parent b8f3482 commit a69aad4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@michaelallenwarner/tailwind-grid-inner",
"version": "1.0.0",
"version": "1.0.1",
"description": "A Tailwind CSS plugin for making grids with inner borders but no outer borders.",
"main": "./lib/index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const BORDER_VAR = '--tw-grid-inner-border';
*/
const allItems = ':nth-child(n)';

export default plugin.withOptions(
export = plugin.withOptions(
({ target = 'modern' }: { target?: 'modern' | 'legacy' } = {}) => {
/**
* If `target` is set to `'modern'` (default value), returns `selector`
Expand Down

0 comments on commit a69aad4

Please sign in to comment.