Skip to content

Instantly share code, notes, and snippets.

View InfinityScripter's full-sized avatar
:octocat:
Focusing

Michael Talalaev InfinityScripter

:octocat:
Focusing
View GitHub Profile
@InfinityScripter
InfinityScripter / webpack.config.js
Last active January 18, 2024 13:21 — forked from versedi/webpack.config.js
Webpack Encore + Sass + MiniCSSExtractPlugin + PurgeCSS + OptimizeCss + Babel + Typescript
/* eslint-disable no-useless-escape */
const Encore = require('@symfony/webpack-encore');
const TerserPlugin = require('terser-webpack-plugin');
const CircularDependencyPlugin = require('circular-dependency-plugin');
const HtmlCriticalWebpackPlugin = require('html-critical-webpack-plugin');
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const PurgeCssPlugin = require('purgecss-webpack-plugin');
const WebpackBar = require('webpackbar');
const path = require('path');
@InfinityScripter
InfinityScripter / index.html
Created July 24, 2023 10:47
Stories Slider - vanilla JS
<main role="main">
<div class="daily-stories">
<div class="daily-stories__outer">
<div class="daily-stories__container">
<div class="slide" data-timeout="2000">
<img src="https://ostylish.co.uk/stock/7.jpg" alt="Image" title="Title 1" />
</div>
<div class="slide" data-timeout="3000">