Skip to content

Commit c57f11b

Browse files
committed
chore: change plugin bundling info
1 parent 3830906 commit c57f11b

File tree

5 files changed

+8
-3
lines changed

5 files changed

+8
-3
lines changed

.changeset/beige-toys-drive.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-plugin-svelte-tailwindcss": patch
3+
---
4+
5+
Minor config changes, to see if bundling goes right
File renamed without changes.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-svelte-tailwindcss",
3-
"type": "module",
3+
"type": "commonjs",
44
"version": "0.1.0-next.1",
55
"packageManager": "[email protected]",
66
"description": "ESLint plugin for Svelte and Tailwind CSS",

src/rules/sort-classes/rule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { LegacyTailwindContext, SVTPluginOptions } from '../../utils';
55

66
import { createNamedRule, getOption, resolveConfig, sortClasses } from '../../utils';
77
// @ts-expect-error Specific tailwindcss API
8-
import { createContext } from 'tailwindcss/lib/lib/setupContextUtils';
8+
import { createContext } from 'tailwindcss/lib/lib/setupContextUtils.js';
99

1010
export type Options = Pick<
1111
SVTPluginOptions,

src/utils/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { Config } from 'tailwindcss';
33

44
import fs from 'node:fs';
55
import path from 'node:path';
6-
import twResolveConfig from 'tailwindcss/resolveConfig';
6+
import twResolveConfig from 'tailwindcss/resolveConfig.js';
77

88
const getLoadConfig = () => {
99
try {

0 commit comments

Comments
 (0)