This file contains hidden or 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
| worker_processes 1; | |
| events { | |
| worker_connections 2048; | |
| } | |
| http { | |
| charset utf-8; | |
| include config/system/mime_types.conf; | |
| default_type text/html; |
This file contains hidden or 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 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'); |
This file contains hidden or 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 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', |
This file contains hidden or 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
| 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'); |