Skip to content

Instantly share code, notes, and snippets.

@g-akshay
Last active May 22, 2018 07:16
Show Gist options
  • Select an option

  • Save g-akshay/441e874118419f6f8b924af389e1c696 to your computer and use it in GitHub Desktop.

Select an option

Save g-akshay/441e874118419f6f8b924af389e1c696 to your computer and use it in GitHub Desktop.
Details about the packages and environment settings required for smooth development on react projects.
  • add a file called .env in the project root with the following contents: NODE_PATH=src/

  • for vs code intellisense: create file jsconfig.json with

{
	"compilerOptions": {
    	"baseUrl": "src"
	}
}
  • Code splitting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment