Skip to content

Commit

Permalink
Merge pull request #896 from GrabarzUndPartner/feature/webpack-inline…
Browse files Browse the repository at this point in the history
…-styles

fix(webpack): added workaround for ssr styles
  • Loading branch information
ThornWalli authored Nov 15, 2023
2 parents e4ea0dc + 41b1108 commit a2d0c0f
Show file tree
Hide file tree
Showing 9 changed files with 141 additions and 319 deletions.
1 change: 0 additions & 1 deletion build.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export default {

// package
'@nuxt/image',
'@nuxtjs/critters',
'browserslist-useragent-regexp',
'cheerio',
'defu',
Expand Down
15 changes: 0 additions & 15 deletions docs/src/guide/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,21 +254,6 @@ Global option for the [`IntersectionObserver`](https://developer.mozilla.org/en-
| `component` | `String` | yes | [`rootMargin`](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/rootMargin) value for [`SpeedkitHydrate`](/guide/usage#import-components). | `0%` |
| `asset` | `String` | yes | [`rootMargin`](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver/rootMargin) value for all static ressources (`v-font`, `SpeedkitPicture` & `SpeedkitImage`). | `0%` |

## `disableNuxtCritters`

- Type: `Boolean`
- Default: `false`

If set, `@nuxtjs/critters` will not be integrated.

::: danger
⚠️ Note that CSS is not embedded in the page.
:::

::: info
For more information: <https://github.com/nuxt-modules/critters>
:::

## `disableNuxtFontaine`

- Type: `Boolean`
Expand Down
225 changes: 23 additions & 202 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
],
"dependencies": {
"@nuxt/image": "1.0.0",
"@nuxtjs/critters": "0.5.1",
"@nuxtjs/fontaine": "0.4.1",
"browserslist-useragent-regexp": "4.1.0",
"cheerio": "1.0.0-rc.12",
Expand Down
Loading

0 comments on commit a2d0c0f

Please sign in to comment.