Last active
February 20, 2017 13:33
-
-
Save fenos/5e94a31f254a7cf68b7620ec94286aa0 to your computer and use it in GitHub Desktop.
This file contains 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
{ | |
module: { | |
loaders: [{ | |
test: /\.(js|jsx)$/, | |
loader: 'happypack/loader?id=loader0', | |
exclude: [/\/node_modules\//] | |
}, | |
{ | |
test: /\.css$/, | |
exclude: [/\/node_modules\//], | |
loaders: ['style-loader', | |
'css-loader?modules&-minimize&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]', | |
'postcss-loader' | |
] | |
}, | |
{ | |
test: /\.(sass|scss)$/, | |
exclude: [/\/node_modules\//], | |
loaders: ['style-loader', | |
'css-loader?modules&-minimize&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]', | |
'sass-loader' | |
] | |
}, | |
{ | |
test: /\.(gif|ico|jpg|jpeg|png|svg|webp)$/, | |
loaders: ['file-loader'] | |
}, | |
{ | |
test: /\.(eot|ttf|woff|woff2)(\?.*)?$/, | |
loaders: ['file-loader'] | |
}, | |
{ | |
test: /\.(aac|m4a|mp3|oga|ogg|wav)$/, | |
loaders: ['url-loader'] | |
}, | |
{ | |
test: /\.(mp4|webm)$/, | |
loaders: ['url-loader'] | |
} | |
] | |
}, | |
resolve: { | |
extensions: ['.js', '.jsx', '.json', '.js', '.json', '.css', '.scss'], | |
aliasFields: ['browser'], | |
modules: ['node_modules', './src', './src/components'] | |
}, | |
context: '/Users/Fabrizio/Documents/Code/gousto2frontend/src/nodeserver', | |
plugins: [ProgressPlugin { | |
profile: undefined, | |
handler: [Function] | |
}, | |
IgnorePlugin { | |
resourceRegExp: /^\.\/locale$/, | |
contextRegExp: /moment$/ | |
}, | |
LoaderOptionsPlugin { | |
options: { | |
url: { | |
dataUrlLimit: 1024 | |
}, | |
options: {}, | |
test: { | |
test: [Function: test] | |
} | |
} | |
}, | |
ManifestPlugin { | |
opts: { | |
basePath: '', | |
fileName: '../manifest.json', | |
stripSrc: null, | |
transformExtensions: /^(gz|map)$/i, | |
cache: null | |
} | |
}, | |
HtmlWebpackPlugin { | |
options: { | |
template: './index.html', | |
filename: 'index.html', | |
hash: false, | |
inject: true, | |
compile: true, | |
favicon: false, | |
minify: false, | |
cache: true, | |
showErrors: true, | |
chunks: 'all', | |
excludeChunks: [], | |
title: 'Webpack App', | |
xhtml: false | |
} | |
}, | |
HappyPlugin { | |
name: 'HappyPack', | |
state: { | |
started: false, | |
loaders: [], | |
baseLoaderRequest: '', | |
foregroundThreadPool: null, | |
verbose: false, | |
debug: false | |
}, | |
config: { | |
id: 'loader0', | |
compilerId: 'default', | |
tempDir: '.happypack', | |
threads: 3, | |
cache: true, | |
cacheContext: {}, | |
verbose: true, | |
enabled: true, | |
loaders: ['babel-loader?{"cacheDirectory":true}'] | |
}, | |
id: 'loader0' | |
}, | |
DefinePlugin { | |
definitions: { | |
__DEV__: 'true', | |
__PROD__: 'false', | |
__HMR__: 'false', | |
__SERVER__: 'false', | |
__CLIENT__: 'true', | |
__TEST__: 'false', | |
__ENV__: '"local"', | |
__DOMAIN__: '"gousto.local"', | |
__CLIENT_PROTOCOL__: '"http"', | |
'process.env.NODE_ENV': '"development"', | |
__GIT_HASH__: '"7b00d3e"' | |
} | |
}, | |
HotModuleReplacementPlugin { | |
multiStep: undefined, | |
fullBuildTimeout: 200 | |
} | |
], | |
target: 'web', | |
node: { | |
fs: 'empty' | |
}, | |
entry: { | |
main: ['react-hot-loader/patch', | |
'babel-polyfill', | |
'./src/styles/vendor/normalize.css', | |
'./src/client.js', | |
'./src/styles/base.css', | |
'webpack/hot/only-dev-server' | |
], | |
legacy: ['react-hot-loader/patch', | |
'babel-polyfill', | |
'./src/styles/vendor/normalize.css', | |
'./src/client.js', | |
'./src/styles/base.css', | |
'webpack/hot/only-dev-server' | |
] | |
}, | |
performance: { | |
hints: false, | |
maxAssetSize: 1500000, | |
maxEntrypointSize: 1500000 | |
}, | |
output: { | |
publicPath: 'http://localhost:8000/', | |
path: '/Users/Fabrizio/Documents/Code/gousto2frontend/src/nodeserver/public', | |
filename: '[name].bundle.js' | |
}, | |
devServer: { | |
hot: true, | |
historyApiFallback: true, | |
inline: true, | |
port: 8000, | |
stats: { | |
colors: true, | |
hash: false, | |
version: false, | |
timings: true, | |
assets: false, | |
chunks: false, | |
modules: false, | |
reasons: true, | |
children: true, | |
source: false, | |
errors: true, | |
errorDetails: true, | |
warnings: false | |
} | |
}, | |
devtool: 'source-map' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment