Skip to content

Commit 9bae7fa

Browse files
committed
fix(deps): add sort-css-media-queries package and update imports
1 parent 78e6ea5 commit 9bae7fa

File tree

5 files changed

+16
-319
lines changed

5 files changed

+16
-319
lines changed

build.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ export default defineBuildConfig({
1515
'pathe',
1616
'mime-types',
1717
'mime-db',
18-
'#build/types/booster'
18+
'#build/types/booster',
19+
'sort-css-media-queries'
1920
],
2021
hooks: {
2122
'build:done': async () => {

package-lock.json

+11-1
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
@@ -65,7 +65,8 @@
6565
"htmlparser2": "10.0.0",
6666
"image-meta": "0.2.1",
6767
"mime-types": "2.1.35",
68-
"pathe": "2.0.3"
68+
"pathe": "2.0.3",
69+
"sort-css-media-queries": "^3.0.0"
6970
},
7071
"devDependencies": {
7172
"@commitlint/cli": "19.8.0",

src/runtime/components/BoosterPicture/classes/SourceList.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Source, { normalizeSrc } from '../../BoosterImage/classes/Source';
2-
import createSort from '../../../externals/create-sort';
2+
import createSort from 'sort-css-media-queries/create-sort';
33
import { toHashHex } from '#booster/utils/string';
44
import type { BoosterProvide } from '../../../../module';
55
import type { $Img } from '@nuxt/image';

src/runtime/externals/create-sort.js

-315
This file was deleted.

0 commit comments

Comments
 (0)