Skip to content

Commit 6554606

Browse files
authored
Merge pull request #1 from harlan-zw/main
fix: get windi.css working
2 parents 50ce22e + bef99d2 commit 6554606

File tree

4 files changed

+26
-18
lines changed

4 files changed

+26
-18
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
"react": "^17.0.2",
2727
"react-dom": "^17.0.2",
2828
"typescript": "^4.2.3",
29-
"windicss-webpack-plugin": "^0.3.3"
29+
"windicss-webpack-plugin": "^0.4.1"
3030
}
3131
}

renderer/pages/_app.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import 'windi.css'
2+
3+
function MyApp({Component, pageProps}) {
4+
return <Component {...pageProps} />
5+
}
6+
7+
export default MyApp

renderer/pages/home.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import Head from "next/head";
22
import Link from "next/link";
33
import React from "react";
4-
import "windi.css";
54

65
function Home() {
76
return (

yarn.lock

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,18 +1285,18 @@
12851285
"@webassemblyjs/wast-parser" "1.9.0"
12861286
"@xtuc/long" "4.2.2"
12871287

1288-
"@windicss/plugin-utils@0.12.5":
1289-
version "0.12.5"
1290-
resolved "https://registry.yarnpkg.com/@windicss/plugin-utils/-/plugin-utils-0.12.5.tgz#d03517d1ae7a48b5b459e3d670e873d38b63e4a1"
1291-
integrity sha512-4ux2o4s6D/gRTD68os41oxs/0NFk/eSJxHhZL9nN2wy4RGt+pPMQJyOHV56l7zDh9B0ywU5+ZRxDjdw2cl5Yvg==
1288+
"@windicss/plugin-utils@0.15.10":
1289+
version "0.15.10"
1290+
resolved "https://registry.yarnpkg.com/@windicss/plugin-utils/-/plugin-utils-0.15.10.tgz#93dde1823da8f89c660fba9467b61723bb2a836c"
1291+
integrity sha512-xhC/d2oqjN1XEjXzG1+8YLOXiktIq3kPXOH3Rv0XOGdmN27XV7eur5g/yXE0fQ8xGrrzOijUb3qAItTgCO1hFA==
12921292
dependencies:
12931293
debug "^4.3.2"
12941294
fast-glob "^3.2.5"
12951295
magic-string "^0.25.7"
1296-
micromatch "^4.0.2"
1296+
micromatch "^4.0.4"
12971297
pirates "^4.0.1"
1298-
sucrase "^3.17.1"
1299-
windicss "^2.5.11"
1298+
sucrase "^3.18.1"
1299+
windicss "^2.5.14"
13001300

13011301
"@xtuc/ieee754@^1.2.0":
13021302
version "1.2.0"
@@ -4154,7 +4154,7 @@ micromatch@^3.1.10, micromatch@^3.1.4:
41544154
snapdragon "^0.8.1"
41554155
to-regex "^3.0.2"
41564156

4157-
micromatch@^4.0.2:
4157+
micromatch@^4.0.2, micromatch@^4.0.4:
41584158
version "4.0.4"
41594159
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.4.tgz#896d519dfe9db25fce94ceb7a500919bf881ebf9"
41604160
integrity sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==
@@ -5681,7 +5681,7 @@ [email protected]:
56815681
resolved "https://registry.yarnpkg.com/stylis/-/stylis-3.5.4.tgz#f665f25f5e299cf3d64654ab949a57c768b73fbe"
56825682
integrity sha512-8/3pSmthWM7lsPBKv7NXkzn2Uc9W7NotcwGNpJaa3k7WMM1XDCA4MgT5k/8BIexd5ydZdboXtU90XH9Ec4Bv/Q==
56835683

5684-
sucrase@^3.17.1:
5684+
sucrase@^3.18.1:
56855685
version "3.18.1"
56865686
resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.18.1.tgz#7c699d5148734b1105542ca4ea2aa69bcab7f728"
56875687
integrity sha512-TRyO38wwOPhLLlM8QLOG3TgMj0FKk+arlTrS9pRAanF8cAcHvgRPKIYWGO25mPSp/Rj87zMMTjFfkqIZGI6ZdA==
@@ -6161,8 +6161,10 @@ watchpack@^1.7.4:
61616161
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.7.5.tgz#1267e6c55e0b9b5be44c2023aed5437a2c26c453"
61626162
integrity sha512-9P3MWk6SrKjHsGkLT2KHXdQ/9SNkyoJbabxnKOoJepsvJjJG8uYTR3yTPxPQvNDI3w4Nz1xnE0TLHK4RIVe/MQ==
61636163
dependencies:
6164+
chokidar "^3.4.1"
61646165
graceful-fs "^4.1.2"
61656166
neo-async "^2.5.0"
6167+
watchpack-chokidar2 "^2.0.1"
61666168
optionalDependencies:
61676169
chokidar "^3.4.1"
61686170
watchpack-chokidar2 "^2.0.1"
@@ -6268,20 +6270,20 @@ widest-line@^3.1.0:
62686270
dependencies:
62696271
string-width "^4.0.0"
62706272

6271-
windicss-webpack-plugin@^0.3.3:
6272-
version "0.3.3"
6273-
resolved "https://registry.yarnpkg.com/windicss-webpack-plugin/-/windicss-webpack-plugin-0.3.3.tgz#74addc441b3c9e20bb727598bcacb6c8903d67d8"
6274-
integrity sha512-XtV7cprqmWEglN6B3ALp09aGFIETnG3G3t762SROVbEgLsBq2Om8sB0MlCvdfBvq0jpIj/hPllApMSq5iVNcXg==
6273+
windicss-webpack-plugin@^0.4.1:
6274+
version "0.4.1"
6275+
resolved "https://registry.yarnpkg.com/windicss-webpack-plugin/-/windicss-webpack-plugin-0.4.1.tgz#8a782cceadfb3aa2992aebf993e8e805d025c2ce"
6276+
integrity sha512-KMVoxqJI+5OZBjs/+PY+A2lJul4EUrTLI/SR1VRdBbbpbOkVjKzTkJ/PpRcHUDHtzgAEg9a0CVGyE0CEtEJ7Cw==
62756277
dependencies:
6276-
"@windicss/plugin-utils" "0.12.5"
6278+
"@windicss/plugin-utils" "0.15.10"
62776279
debug "^4.3.1"
62786280
loader-utils "^2.0.0"
62796281
magic-string "^0.25.7"
62806282
upath "^2.0.1"
62816283
webpack-virtual-modules "^0.4.2"
6282-
windicss "^2.5.12"
6284+
windicss "^2.5.14"
62836285

6284-
windicss@^2.5.11, windicss@^2.5.12, windicss@^2.5.14:
6286+
windicss@^2.5.14:
62856287
version "2.5.14"
62866288
resolved "https://registry.yarnpkg.com/windicss/-/windicss-2.5.14.tgz#41236ccc2517c0947e1adb69e0d5e8aa9bed9c1e"
62876289
integrity sha512-8Lm7U1M5AzJPbiaVSVz7qWdETRzlkv//5LBMICBBAojos1jo09lUGhNZ5rBzHeldB9JmqYMDOGgrrXHExu0EAg==

0 commit comments

Comments
 (0)