Skip to content

Instantly share code, notes, and snippets.

View budarin's full-sized avatar
🏠
Working from home

Вадим Бударин budarin

🏠
Working from home
View GitHub Profile
@budarin
budarin / gist:c41a942684f90d7fc10ac2531dfcbeb2
Last active March 13, 2019 19:16
After recompiling copy-webpack-plugin does not update assets-manifest.json
import path from 'path';
import webpack from 'webpack';
import CopyWebpackPlugin from 'copy-webpack-plugin';
import ManifestPlugin from 'webpack-manifest-plugin';
import WriteFilePlugin from 'write-file-webpack-plugin';
// import EntrypointsPlugin from '../webpackEntrypointPlugin';
import babelConfig from './babelLoaderConfig';
const cacheDir = path.resolve('node_modules/.cache');
const path = require('path');
const webpack = require('webpack');
const { DuplicatesPlugin } = require('inspectpack/plugin');
const CircularDependencyPlugin = require('circular-dependency-plugin');
const { UnusedFilesWebpackPlugin } = require('unused-files-webpack-plugin');
const babelConfig = require('../../babel/client.babel.config');
const cacheDir = path.resolve('node_modules/.cache');
const getThreadLoader = (name) => ({
loader: 'thread-loader',
const path = require('path');
const webpack = require('webpack');
const { DuplicatesPlugin } = require('inspectpack/plugin');
const { UnusedFilesWebpackPlugin } = require('unused-files-webpack-plugin');
const CircularDependencyPlugin = require('circular-dependency-plugin');
const nodeExternals = require('webpack-node-externals');
const babelConfig = require('../../babel/server.babel.config');
const cacheDir = path.resolve('./node_modules/.cache');
worker_processes 1;
events {
worker_connections 2048;
}
http {
charset utf-8;
include config/system/mime_types.conf;
default_type text/html;