Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- output: {
- filename: '[name].[ hash].js',
- chunkFilename: '[name].[hash].js',
- path: '/Users/bmatei/Workspace/personal/personify-ui/build/',
- publicPath: '/'
- },
- module: {
- rules: [
- // loaders
- ]
- },
- resolve: {
- extensions: [ '.ts', '.tsx', '.js', '.jsx' ],
- alias: {}, // see the object a little bit up in the post
- },
- plugins: [
- // DefinePlugin
- // CleanWebpackPlugin
- // HtmlWebpackPlugin
- // HotModuleReplacementPlugin
- // NamedModulesPlugin
- ],
- stats: {
- // irrelevant
- },
- devtool: 'inline-source-map',
- target: 'web',
- entry: [
- 'react-hot-loader/patch',
- 'webpack-dev-server/client?http: //localhost:9090',
- 'webpack/hot/only-dev-server',
- '/Users/user/Workspace/prj-name/app/index.tsx'
- ],
- devServer: {
- hot: true,
- port: 9090,
- stats: {
- // irrelevant
- },
- historyApiFallback: true,
- proxy: {
- // irrelevant
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement