Skip to content

Instantly share code, notes, and snippets.

import GSAP from 'gsap'
import each from 'lodash/each'
import map from 'lodash/map'
import Prefix from 'prefix'
import Title from 'animations/Title'
import Gallery from 'animations/Gallery'
import NormalizeWheel from 'normalize-wheel';
import each from 'lodash/each'
import About from 'pages/About'
import Home from 'pages/Home'
class App {
constructor () {
this.createContent();
/* eslint-disable no-undef */
const path = require('path')
const webpack = require('webpack'); //to access built-in plugins
const CopyWebpackPlugin = require('copy-webpack-plugin')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
const ImageMinimizerPlugin = require('image-minimizer-webpack-plugin');
const { CleanWebpackPlugin } = require('clean-webpack-plugin')
const TerserPlugin = require("terser-webpack-plugin");