Skip to content

Commit 7552b98

Browse files
committed
remove less
1 parent d7a51d3 commit 7552b98

24 files changed

+184
-196
lines changed

bun.lockb

96.9 KB
Binary file not shown.

package-lock.json

+123-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"@crxjs/vite-plugin": "^2.0.0-beta.7",
2525
"@types/chrome": "^0.0.244",
2626
"daisyui": "^3.5.1",
27-
"less": "^4.1.3",
27+
"postcss-import": "^15.1.0",
28+
"postcss-nesting": "^12.0.1",
2829
"prettier": "^2.7.1",
2930
"typescript": "^4.9.3",
3031
"vite": "^3.2.4",

pnpm-lock.yaml

+30-159
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

postcss.config.cjs

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
module.exports = {
22
plugins: {
3+
'postcss-import': {},
4+
'tailwindcss/nesting': 'postcss-nesting',
35
tailwindcss: {}
46
}
57
}
File renamed without changes.
File renamed without changes.

src/content/adapters/collins/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import dictStyles from './index.less?inline'
1+
import dictStyles from './index.css?inline'
22
import type { Adapter } from '../type'
33
import { fetchText } from '../fetch'
44

File renamed without changes.

src/content/adapters/google/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// reference: https://github.com/crimx/ext-saladict/blob/dev/src/components/dictionaries/googledict/engine.ts
22

3-
import dictStyles from './index.less?inline'
3+
import dictStyles from './index.css?inline'
44
import type { Adapter } from '../type'
55
import { fetchText } from '../fetch'
66

File renamed without changes.

src/content/adapters/longman/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import dictStyles from './index.less?inline'
1+
import dictStyles from './index.css?inline'
22
import type { Adapter } from '../type'
33
import { fetchText } from '../fetch'
44

File renamed without changes.

src/content/adapters/openai/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// reference: https://github.com/crimx/ext-saladict/blob/dev/src/components/dictionaries/googledict/engine.ts
22

3-
import dictStyles from './index.less?inline'
3+
import dictStyles from './index.css?inline'
44
import type { Adapter } from '../type'
55
import { Messages } from '../../../constant'
66
import { sendMessage } from '../../../lib/port'

0 commit comments

Comments
 (0)