Skip to content

Instantly share code, notes, and snippets.

@poncianodiego
Created February 20, 2021 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save poncianodiego/3f28332e2a2411e75e631be53b5b05c2 to your computer and use it in GitHub Desktop.
Save poncianodiego/3f28332e2a2411e75e631be53b5b05c2 to your computer and use it in GitHub Desktop.
{
mode: 'production',
entry: {
app: [
'/Users/diegoponciano/Desktop/ryan/tbv2/client/__generated__/AppEntry.js'
]
},
bail: true,
devtool: 'source-map',
context: '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/@expo/webpack-config/webpack',
output: {
publicPath: '/',
path: '/Users/diegoponciano/Desktop/ryan/tbv2/client/web-build',
globalObject: 'this',
filename: 'static/js/[name].[contenthash:8].js',
chunkFilename: 'static/js/[name].[contenthash:8].chunk.js',
devtoolModuleFilenameTemplate: [Function (anonymous)]
},
plugins: [
CleanWebpackPlugin {
dangerouslyAllowCleanPatternsOutsideProject: false,
dry: false,
verbose: false,
cleanStaleWebpackAssets: true,
protectWebpackAssets: true,
cleanAfterEveryBuildPatterns: [],
cleanOnceBeforeBuildPatterns: [Array],
currentAssets: [],
initialClean: false,
outputPath: '',
apply: [Function: bound apply],
handleInitial: [Function: bound handleInitial],
handleDone: [Function: bound handleDone],
removeFiles: [Function: bound removeFiles]
},
CopyPlugin { patterns: [Array], options: {} },
HtmlWebpackPlugin {
options: [Object],
childCompilerHash: undefined,
assetJson: undefined,
hash: undefined,
version: 4,
platform: 'web'
},
InterpolateHtmlPlugin {
htmlWebpackPlugin: [class HtmlWebpackPlugin extends HtmlWebpackPlugin],
replacements: [Object]
},
ExpoPwaManifestWebpackPlugin {
options: [Object],
writeObject: [AsyncFunction (anonymous)],
pwaOptions: [Object],
rel: 'manifest'
},
FaviconWebpackPlugin {
modifyOptions: {},
pwaOptions: [Object],
favicon: [Object]
},
ApplePwaWebpackPlugin {
modifyOptions: {},
pwaOptions: [Object],
meta: [Object],
icon: [Object],
startupImage: [Object]
},
ChromeIconsWebpackPlugin { options: [Object], icon: [Object] },
ModuleNotFoundPlugin {
appPath: '/Users/diegoponciano/Desktop/ryan/tbv2/client',
yarnLockFile: undefined,
useYarnCommand: [Function: bound useYarnCommand],
getRelativePath: [Function: bound getRelativePath],
prettierError: [Function: bound prettierError]
},
DefinePlugin { definitions: [Object] },
MiniCssExtractPlugin { options: [Object] },
ManifestPlugin { opts: [Object] },
WebpackBar {
profile: false,
handler: [Function (anonymous)],
modulesCount: 500,
showEntries: false,
showModules: true,
showActiveModules: true,
options: [Object],
reporters: [Array]
}
],
module: { strictExportPresence: false, rules: [ [Object], [Object] ] },
resolveLoader: { plugins: [ [Object] ] },
resolve: {
extensions: [
'.web.ts', '.web.tsx',
'.web.mjs', '.web.js',
'.web.jsx', '.ts',
'.tsx', '.mjs',
'.js', '.jsx',
'.json', '.wasm'
],
plugins: [ [Object] ],
symlinks: false,
alias: {
'react-native$': 'react-native-web',
'react-native/Libraries/Components/View/ViewStylePropTypes$': 'react-native-web/dist/exports/View/ViewStylePropTypes',
'react-native/Libraries/EventEmitter/RCTDeviceEventEmitter$': 'react-native-web/dist/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter',
'react-native/Libraries/vendor/emitter/EventEmitter$': 'react-native-web/dist/vendor/react-native/emitter/EventEmitter',
'react-native/Libraries/vendor/emitter/EventSubscriptionVendor$': 'react-native-web/dist/vendor/react-native/emitter/EventSubscriptionVendor',
'react-native/Libraries/EventEmitter/NativeEventEmitter$': 'react-native-web/dist/vendor/react-native/NativeEventEmitter',
'react-native/Libraries/Image/AssetSourceResolver$': 'expo-asset/build/AssetSourceResolver',
'react-native/Libraries/Image/assetPathUtils$': 'expo-asset/build/Image/assetPathUtils',
'react-native/Libraries/Image/resolveAssetSource$': 'expo-asset/build/resolveAssetSource'
}
},
performance: { maxAssetSize: 600000, maxEntrypointSize: 600000 },
optimization: {
nodeEnv: false,
minimize: true,
minimizer: [ [TerserPlugin], [OptimizeCssAssetsWebpackPlugin] ],
splitChunks: { chunks: 'all', name: false },
runtimeChunk: true,
noEmitOnErrors: true
},
node: {
module: 'empty',
dgram: 'empty',
dns: 'mock',
fs: 'empty',
http2: 'empty',
net: 'empty',
tls: 'empty',
child_process: 'empty'
}
}
{
externals: [ [Function (anonymous)] ],
optimization: {
noEmitOnErrors: true,
checkWasmTypes: false,
nodeEnv: false,
splitChunks: false,
runtimeChunk: undefined,
minimize: false,
minimizer: [ [TerserPlugin], [CssMinimizerPlugin] ]
},
context: '/Users/diegoponciano/Desktop/ryan/tbv2/client',
node: { setImmediate: false },
entry: [AsyncFunction: entry],
watchOptions: {
ignored: [
'**/.git/**',
'**/.next/**',
'**/.#*',
'**node_modules/{!(@ui-kitten/components),!(react-native),!(react-native-svg)}/**/*'
]
},
output: {
path: '/Users/diegoponciano/Desktop/ryan/tbv2/client/.next/server',
filename: '[name].js',
library: undefined,
libraryTarget: 'commonjs2',
hotUpdateChunkFilename: 'static/webpack/[id].[hash].hot-update.js',
hotUpdateMainFilename: 'static/webpack/[hash].hot-update.json',
chunkFilename: '[name].js',
strictModuleExceptionHandling: true,
crossOriginLoading: undefined,
futureEmitAssets: false,
webassemblyModuleFilename: 'static/wasm/[modulehash].wasm',
publicPath: '/'
},
performance: false,
resolve: {
extensions: [
'.js', '.ts',
'.tsx', '.web.ts',
'.web.tsx', '.web.mjs',
'.web.js', '.web.jsx',
'.ts', '.tsx',
'.mjs', '.js',
'.jsx', '.json',
'.wasm'
],
modules: [ 'node_modules' ],
alias: {
next: '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next',
'private-next-pages': '/Users/diegoponciano/Desktop/ryan/tbv2/client/pages',
'private-dot-next': '/Users/diegoponciano/Desktop/ryan/tbv2/client/.next',
'/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/next-server/lib/router/utils/resolve-rewrites.js': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/next-server/lib/router/utils/resolve-rewrites-noop.js',
'react-native$': 'react-native-web',
'react-native/Libraries/Components/View/ViewStylePropTypes$': 'react-native-web/dist/exports/View/ViewStylePropTypes',
'react-native/Libraries/EventEmitter/RCTDeviceEventEmitter$': 'react-native-web/dist/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter',
'react-native/Libraries/vendor/emitter/EventEmitter$': 'react-native-web/dist/vendor/react-native/emitter/EventEmitter',
'react-native/Libraries/vendor/emitter/EventSubscriptionVendor$': 'react-native-web/dist/vendor/react-native/emitter/EventSubscriptionVendor',
'react-native/Libraries/EventEmitter/NativeEventEmitter$': 'react-native-web/dist/vendor/react-native/NativeEventEmitter',
'react-native/Libraries/Image/AssetSourceResolver$': 'expo-asset/build/AssetSourceResolver',
'react-native/Libraries/Image/assetPathUtils$': 'expo-asset/build/Image/assetPathUtils',
'react-native/Libraries/Image/resolveAssetSource$': 'expo-asset/build/resolveAssetSource'
},
mainFields: [ 'main', 'module' ],
plugins: [ [Object] ],
symlinks: false
},
resolveLoader: {
alias: {
'emit-file-loader': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/webpack/loaders/emit-file-loader',
'error-loader': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/webpack/loaders/error-loader',
'next-babel-loader': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/webpack/loaders/next-babel-loader',
'next-client-pages-loader': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader',
'next-serverless-loader': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/webpack/loaders/next-serverless-loader',
'noop-loader': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/webpack/loaders/noop-loader',
'next-plugin-loader': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/webpack/loaders/next-plugin-loader',
'next-style-loader': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/webpack/loaders/next-style-loader'
},
modules: [ 'node_modules' ],
plugins: [ [Object] ]
},
module: {
rules: [
[Object], [Object],
[Object], [Object],
[Object], [Object],
[Object]
],
strictExportPresence: true
},
plugins: [
ChunkNamesPlugin {},
DefinePlugin { definitions: [Object] },
NextJsRequireCacheHotReloader {
prevAssets: null,
previousOutputPathsWebpack5: Set(0) {},
currentOutputPathsWebpack5: Set(0) {}
},
PagesManifestPlugin { serverless: false },
NextJsSsrImportPlugin { options: [Object] },
NextJsSsrImportPlugin {},
ProfilingPlugin { compiler: undefined },
WellKnownErrorsPlugin {},
DefinePlugin { definitions: [Object] }
],
mode: 'development',
name: 'server',
target: 'node',
bail: false,
devtool: 'eval-source-map'
}
{
externals: [ 'next' ],
optimization: {
noEmitOnErrors: true,
checkWasmTypes: false,
nodeEnv: false,
splitChunks: { cacheGroups: [Object] },
runtimeChunk: { name: 'webpack' },
minimize: false,
minimizer: [ [TerserPlugin], [CssMinimizerPlugin] ]
},
context: '/Users/diegoponciano/Desktop/ryan/tbv2/client',
node: { setImmediate: false },
entry: [AsyncFunction: entry],
watchOptions: {
ignored: [
'**/.git/**',
'**/.next/**',
'**/.#*',
'**node_modules/{!(@ui-kitten/components),!(react-native),!(react-native-svg)}/**/*'
]
},
output: {
path: '/Users/diegoponciano/Desktop/ryan/tbv2/client/.next',
filename: 'static/chunks/[name].js',
library: '_N_E',
libraryTarget: 'assign',
hotUpdateChunkFilename: 'static/webpack/[id].[hash].hot-update.js',
hotUpdateMainFilename: 'static/webpack/[hash].hot-update.json',
chunkFilename: 'static/chunks/[name].js',
strictModuleExceptionHandling: true,
crossOriginLoading: undefined,
futureEmitAssets: false,
webassemblyModuleFilename: 'static/wasm/[modulehash].wasm',
publicPath: '/'
},
performance: false,
resolve: {
extensions: [
'.js', '.ts',
'.tsx', '.web.ts',
'.web.tsx', '.web.mjs',
'.web.js', '.web.jsx',
'.ts', '.tsx',
'.mjs', '.js',
'.jsx', '.json',
'.wasm'
],
modules: [ 'node_modules' ],
alias: {
next: '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next',
'private-next-pages': '/Users/diegoponciano/Desktop/ryan/tbv2/client/pages',
'private-dot-next': '/Users/diegoponciano/Desktop/ryan/tbv2/client/.next',
'unfetch$': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/polyfills/fetch/index.js',
'isomorphic-unfetch$': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/polyfills/fetch/index.js',
'whatwg-fetch$': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/polyfills/fetch/whatwg-fetch.js',
'object-assign$': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/polyfills/object-assign.js',
'object.assign/auto': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/polyfills/object.assign/auto.js',
'object.assign/implementation': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/polyfills/object.assign/implementation.js',
'object.assign$': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/polyfills/object.assign/index.js',
'object.assign/polyfill': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/polyfills/object.assign/polyfill.js',
'object.assign/shim': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/polyfills/object.assign/shim.js',
url: '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/native-url/dist/index.js',
'/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/next-server/lib/router/utils/resolve-rewrites.js': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/next-server/lib/router/utils/resolve-rewrites-noop.js',
'react-native$': 'react-native-web',
'react-native/Libraries/Components/View/ViewStylePropTypes$': 'react-native-web/dist/exports/View/ViewStylePropTypes',
'react-native/Libraries/EventEmitter/RCTDeviceEventEmitter$': 'react-native-web/dist/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter',
'react-native/Libraries/vendor/emitter/EventEmitter$': 'react-native-web/dist/vendor/react-native/emitter/EventEmitter',
'react-native/Libraries/vendor/emitter/EventSubscriptionVendor$': 'react-native-web/dist/vendor/react-native/emitter/EventSubscriptionVendor',
'react-native/Libraries/EventEmitter/NativeEventEmitter$': 'react-native-web/dist/vendor/react-native/NativeEventEmitter',
'react-native/Libraries/Image/AssetSourceResolver$': 'expo-asset/build/AssetSourceResolver',
'react-native/Libraries/Image/assetPathUtils$': 'expo-asset/build/Image/assetPathUtils',
'react-native/Libraries/Image/resolveAssetSource$': 'expo-asset/build/resolveAssetSource'
},
mainFields: [ 'browser', 'module', 'main' ],
plugins: [ [Object] ],
symlinks: false
},
resolveLoader: {
alias: {
'emit-file-loader': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/webpack/loaders/emit-file-loader',
'error-loader': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/webpack/loaders/error-loader',
'next-babel-loader': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/webpack/loaders/next-babel-loader',
'next-client-pages-loader': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader',
'next-serverless-loader': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/webpack/loaders/next-serverless-loader',
'noop-loader': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/webpack/loaders/noop-loader',
'next-plugin-loader': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/webpack/loaders/next-plugin-loader',
'next-style-loader': '/Users/diegoponciano/Desktop/ryan/tbv2/node_modules/next/dist/build/webpack/loaders/next-style-loader'
},
modules: [ 'node_modules' ],
plugins: [ [Object] ]
},
module: {
rules: [
[Object], [Object],
[Object], [Object],
[Object], [Object],
[Object]
],
strictExportPresence: true
},
plugins: [
ReactFreshWebpackPlugin {
webpackMajorVersion: 4,
RuntimeGlobals: undefined,
RuntimeModule: undefined,
Template: [class Template]
},
ChunkNamesPlugin {},
DefinePlugin { definitions: [Object] },
ReactLoadablePlugin { filename: 'react-loadable-manifest.json' },
DropClientPage { ampPages: Set(0) {} },
NextJsRequireCacheHotReloader {
prevAssets: null,
previousOutputPathsWebpack5: Set(0) {},
currentOutputPathsWebpack5: Set(0) {}
},
HotModuleReplacementPlugin {
options: {},
multiStep: undefined,
fullBuildTimeout: 200,
requestTimeout: 10000
},
BuildManifestPlugin { buildId: 'development', rewrites: [] },
ProfilingPlugin { compiler: undefined },
WellKnownErrorsPlugin {},
DefinePlugin { definitions: [Object] }
],
mode: 'development',
name: 'client',
target: 'web',
bail: false,
devtool: 'eval-source-map'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment