Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
2 changes: 1 addition & 1 deletion .github/workflows/autofix-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 24.x
cache: pnpm

- name: Setup
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 24.x
cache: pnpm

- name: Setup
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 24.x
cache: pnpm

- name: Setup
Expand All @@ -61,7 +61,7 @@ jobs:

strategy:
matrix:
node: [16.x, 18.x]
node: [22.x, 24.x]
os: [ubuntu-latest, windows-latest, macos-latest]
fail-fast: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 24.x

- run: npx changelogithub
env:
Expand Down
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["dbaeumer.vscode-eslint"]
"recommendations": ["dbaeumer.vscode-eslint"]
}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
"typescript.tsdk": "node_modules/typescript/lib"
}
75 changes: 46 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ $ pnpm add -D unplugin-solid
import Solid from "unplugin-solid/vite";

export default defineConfig({
plugins: [
Solid({
/* options */
}),
],
plugins: [
Solid({
/* options */
}),
],
});
```

Expand All @@ -38,30 +38,48 @@ export default defineConfig({
import Solid from "unplugin-solid/rollup";

export default {
plugins: [
Solid({
/* options */
}),
// other plugins
],
plugins: [
Solid({
/* options */
}),
// other plugins
],
};
```

<br></details>

<details>
<summary>Rolldown</summary><br>

```ts
// rolldown.config.js
import Solid from "unplugin-solid/rolldown";

export default {
plugins: [
Solid({
/* options */
}),
// other plugins
],
};
```

<br></details>

<details>
<summary>Webpack</summary><br>

```ts
// webpack.config.js
module.exports = {
/* ... */
plugins: [
require("unplugin-solid/webpack")({
/* options */
}),
],
/* ... */
plugins: [
require("unplugin-solid/webpack")({
/* options */
}),
],
};
```

Expand All @@ -75,18 +93,17 @@ module.exports = {
import { build } from "esbuild";

build({
/* ... */
plugins: [
require("unplugin-solid/esbuild")({
/* options */
}),
],
/* ... */
plugins: [
require("unplugin-solid/esbuild")({
/* options */
}),
],
});
```

<br></details>


<details>
<summary>Astro</summary><br>

Expand All @@ -95,11 +112,11 @@ build({
import Solid from "unplugin-solid/astro";

export default defineConfig({
integrations: [
Solid({
/* options */
}),
],
integrations: [
Solid({
/* options */
}),
],
});
```

Expand Down
14 changes: 0 additions & 14 deletions build.config.ts

This file was deleted.

5 changes: 5 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { so1ve } from "@so1ve/eslint-config";

export default so1ve({
ignores: ["**/fixtures/**"],
});
Loading