From Me to Everyone: 12:50 PM hi hi From Thangadurai Nainamalai to Everyone: 12:50 PM
This is a sample React+Redux application
- npm install webpack --save-dev
- npm install webpack-dev-server --save-dev
What is Yarn/NPM difference? How to raise and resolve git issues? What is license in Github? How to setup ssh in Github?
Presets can be defined in two ways.
- create .babelrc and add the configuration - best way
- Update it in package.json
Why webpack bundle.js dependent on contentBase?
Prod Browser security - Browser(https://client.com/bundle.js, https://client.com/api/prescriber) => (https://client.com)Server(ngnix 1. content (index.html, bundle.js), 2. proxy('https://client.com/api/prescriber' --> https://ms.server.com/v1/prescriber)) => MS ('/v1/prescriber' => 'https://business.com/prescriber') => business
Mod-proxy referer: https://ms.server.com
Dev Browser(https://localhost:3000/bundle.js, http://localhost:3000/api/prescriber) => (http://localhost:3000)Webpack dev server(express 1. content (index.html, bundle.js), 2. pr