mirror of
https://github.com/hyprwm/hyprland-website.git
synced 2024-11-17 02:45:59 +01:00
28 lines
398 B
JavaScript
28 lines
398 B
JavaScript
|
import { generate } from 'critical'
|
||
|
|
||
|
generate({
|
||
|
inline: true,
|
||
|
base: 'build/',
|
||
|
src: 'index.html',
|
||
|
target: 'index-critical.html',
|
||
|
width: 1300,
|
||
|
height: 900
|
||
|
})
|
||
|
// generate({
|
||
|
// inline: true,
|
||
|
// base: 'build/',
|
||
|
// src: 'index.html',
|
||
|
// target: 'index.c.html',
|
||
|
|
||
|
// dimensions: [
|
||
|
// {
|
||
|
// width: 1200,
|
||
|
// height: 900
|
||
|
// },
|
||
|
// {
|
||
|
// width: 480,
|
||
|
// height: 900
|
||
|
// }
|
||
|
// ]
|
||
|
// })
|