This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ExtractTextPlugin = require("extract-text-webpack-plugin"); | |
const path = require('path'); | |
module.exports = { | |
entry: [ | |
'./index.js' | |
], | |
output: { | |
path: __dirname, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//---//Конфиг Gulp//---// | |
var gulp = require('gulp'), | |
path = require('path'), | |
spritesmith = require('gulp.spritesmith'); | |
//---//Sass или Less//---// | |
//--//закомментировать ненужное//--// | |
//var less = require('gulp-less'); | |
var sass = require('gulp-sass'); |