Skip to content

Instantly share code, notes, and snippets.

View OlehDutchenko's full-sized avatar
👉
keep on

Oleh Dutchenko OlehDutchenko

👉
keep on
View GitHub Profile
@OlehDutchenko
OlehDutchenko / stylis-autoprefixer.css
Last active January 5, 2022 15:54
Stylis prefixer check-list sources
.example {
/* color-adjust */
color-adjust: economy;
color-adjust: exact;
/* animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function) */
animation: 3s ease-in 1s 2 reverse both paused slidein;
animation-delay: 2.1s, 480ms;
animation-duration: 2.1s, 480ms;
animation-name: lorem;
@OlehDutchenko
OlehDutchenko / next.config.js
Last active April 2, 2022 19:19
Example for the next.config.js to enable typescript errors check in dev mode
// -----------------------------------------------------------------------------
// Deps
// -----------------------------------------------------------------------------
const fromCWD = require('from-cwd');
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
const PnpWebpackPlugin = require('pnp-webpack-plugin');
const { PHASE_DEVELOPMENT_SERVER } = require('next/constants');
// -----------------------------------------------------------------------------
'use strict';
/**
* @module
*/
// ----------------------------------------
// Imports
// ----------------------------------------
@OlehDutchenko
OlehDutchenko / html5-play-pause.js
Last active January 3, 2019 13:36
solution for `DOMException: The play() request was interrupted`
'use strict';
/**
* @module
* @author Oleg Dutchenko <dutchenko.o.dev@gmail.com>
* @version 1.0.0
*/
// ----------------------------------------
// Imports