Skip to content

Instantly share code, notes, and snippets.

@MrJadaml
Last active June 28, 2019 16: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 MrJadaml/f47c2b2bcbf8db52dcafa1be85b1bf1c to your computer and use it in GitHub Desktop.
Save MrJadaml/f47c2b2bcbf8db52dcafa1be85b1bf1c to your computer and use it in GitHub Desktop.
💥 ecom-web-app [NCE-1046/webpack-migration] ⚡ yarn build:dev
yarn run v1.12.3
$ cross-env NODE_ENV=development webpack -p --progress
OOOOOOOOOOOoooooOOOOOOOOooooOOOOooOoooOOoooOOooOOOooOOOoo
{ entry: [ 'babel-polyfill', './client.js' ],
output:
{ path: '/Users/alichty/lulu/ecom-web-app/build',
publicPath: '/',
filename: 'bundle.js' },
stats: { children: false },
module: { rules: [ [Object], [Object], [Object] ] },
context: '/Users/alichty/lulu/ecom-web-app/src',
target: 'web',
devtool: 'source-map',
plugins:
[ CopyPlugin { patterns: [Array], options: {} },
DefinePlugin { definitions: [Object] },
WebpackAssetsManifest {
hooks: [Object],
options: [Object],
assets: {},
assetNames: Map {},
currentAsset: null,
compiler: null,
stats: null,
hmrRegex: null,
[Symbol(isMerging)]: false },
HtmlWebpackPlugin {
options: [Object],
childCompilerHash: undefined,
childCompilationOutputName: undefined,
assetJson: undefined,
hash: undefined,
version: 4 },
MiniCssExtractPlugin { options: [Object] },
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] } ],
mode: 'development',
devServer:
{ port: 3000,
host: '0.0.0.0',
publicPath: 'http://0.0.0.0:3000',
contentBase: './src',
historyApiFallback: true,
disableHostCheck: false,
open: false } }
OOOOOOOOOOOoooooOOOOOOOOooooOOOOooOoooOOoooOOooOOOooOOOoo
{ entry: [ 'babel-polyfill', './server.js' ],
output:
{ path: '/Users/alichty/lulu/ecom-web-app/build',
publicPath: '/',
filename: './server.js',
libraryTarget: 'commonjs' },
stats: { children: false },
module: { rules: [ [Object], [Object], [Object], [Object] ] },
context: '/Users/alichty/lulu/ecom-web-app/src',
target: 'node',
mode: 'production',
externals:
[ { express: [Object],
'aws-serverless-express/middleware': [Object],
compression: [Object],
'node-fetch': [Object],
'regenerator-runtime': [Object],
'aws-xray-sdk': [Object] } ],
plugins:
[ { apply: [Function: apply] },
NormalModuleReplacementPlugin { resourceRegExp: /\/iconv-loader$/, newResource: 'node-noop' } ] }
[1] Hash: 940b107cbaceeae711a85c755204d858c0160caa
Version: webpack 4.35.0
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
💥 ecom-web-app [master] yarn dev
yarn run v1.12.3
$ cross-env NODE_ENV=development webpack-dev-server --inline --progress
**************************************************************************
{ context: '/Users/alichty/lulu/ecom-web-app/src',
resolveLoader:
{ modules:
[ '/Users/alichty/lulu/ecom-web-app/src/lib',
'/Users/alichty/lulu/ecom-web-app/node_modules',
'node_modules' ] },
resolve:
{ extensions: [ '.jsx', '.js', '.json', '.scss' ],
alias:
{ components: '/Users/alichty/lulu/ecom-web-app/src/components',
containers: '/Users/alichty/lulu/ecom-web-app/src/containers',
style: '/Users/alichty/lulu/ecom-web-app/src/style' } },
module: { rules: [ [Object], [Object], [Object], [Object], [Object] ] },
stats: { colors: true },
node:
{ global: true,
process: false,
Buffer: false,
__filename: false,
__dirname: true,
setImmediate: false },
devtool: 'source-map',
entry: [ 'babel-polyfill', 'whatwg-fetch', './client.js' ],
devServer:
{ port: 3000,
host: '0.0.0.0',
publicPath: 'http://0.0.0.0:3000',
contentBase: './src',
historyApiFallback: true,
disableHostCheck: false,
open: false },
output:
{ path: '/Users/alichty/lulu/ecom-web-app/build',
publicPath: '/',
filename: 'bundle.js' },
plugins:
[ NoEmitOnErrorsPlugin {},
ExtractTextPlugin { filename: 'style.css', id: 1, options: [Object] },
DefinePlugin { definitions: [Object] },
HtmlWebpackPlugin { options: [Object] },
ScriptExtHtmlWebpackPlugin { options: [Object] },
WebpackSvgStore { tasks: {}, options: [Object] },
{ apply: [Function: apply] },
{ apply: [Function: apply] } ] }
**************************************************************************
{ context: '/Users/alichty/lulu/ecom-web-app/src',
resolveLoader:
{ modules:
[ '/Users/alichty/lulu/ecom-web-app/src/lib',
'/Users/alichty/lulu/ecom-web-app/node_modules',
'node_modules' ] },
resolve:
{ extensions: [ '.jsx', '.js', '.json', '.scss' ],
alias:
{ components: '/Users/alichty/lulu/ecom-web-app/src/components',
containers: '/Users/alichty/lulu/ecom-web-app/src/containers',
style: '/Users/alichty/lulu/ecom-web-app/src/style' } },
module: { rules: [ [Object], [Object], [Object], [Object], [Object] ] },
stats: { colors: true },
node:
{ global: true,
process: false,
Buffer: false,
__filename: false,
__dirname: true,
setImmediate: false },
devtool: 'source-map',
entry: [Function: entry],
target: 'node',
externals:
[ { express: [Object],
'aws-serverless-express/middleware': [Object],
compression: [Object],
'node-fetch': [Object],
'regenerator-runtime': [Object],
'aws-xray-sdk': [Object] } ],
output:
{ path: '/Users/alichty/lulu/ecom-web-app/build',
publicPath: '/',
filename: 'server.js',
libraryTarget: 'commonjs' },
plugins:
[ { apply: [Function: apply] },
NoEmitOnErrorsPlugin {},
ExtractTextPlugin { filename: 'style.css', id: 2, options: [Object] },
NormalModuleReplacementPlugin { resourceRegExp: /\/iconv-loader$/, newResource: 'node-noop' } ] }
5% [1] compiling
Project is running at http://0.0.0.0:3000/
webpack output is served from http://0.0.0.0:3000
Content not from webpack is served from ./src
404s will fallback to /index.html
[0] Hash: b3f7df0a33e68f24d00fbfe0f52bab77ce3d326c
Version: webpack 2.7.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment