Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

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

🏠
Working from home
View GitHub Profile
View webpack.config.js
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',
@budarin
budarin / gist:c41a942684f90d7fc10ac2531dfcbeb2
Last active Mar 13, 2019
After recompiling copy-webpack-plugin does not update assets-manifest.json
View gist:c41a942684f90d7fc10ac2531dfcbeb2
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');
You can’t perform that action at this time.