Skip to content

Instantly share code, notes, and snippets.

const path = require("path");
const CleanWebpackPlugin = require('clean-webpack-plugin');
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const HtmlWebpackPlugin = require("html-webpack-plugin");
const merge = require("webpack-merge");
const HtmlWebpackTagsPlugin = require('html-webpack-tags-plugin')
const ScriptExtHtmlWebpackPlugin = require('script-ext-html-webpack-plugin')
const TerserJSPlugin = require('terser-webpack-plugin');
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
var ExtractTextPlugin = require("extract-text-webpack-plugin");
const path = require('path');
module.exports = {
entry: [
'./index.js'
],
output: {
path: __dirname,
//---//Конфиг Gulp//---//
var gulp = require('gulp'),
path = require('path'),
spritesmith = require('gulp.spritesmith');
//---//Sass или Less//---//
//--//закомментировать ненужное//--//
//var less = require('gulp-less');
var sass = require('gulp-sass');