Skip to content

Demo app to build typescript apps using ESRI's JSAPI with webpack

License

Notifications You must be signed in to change notification settings

dcworldwide/esri-webpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

esri-webpack demo extended (Includes HMR + React)

Extends the great work done here lobsteropteryx/esri-webpack, but adds:

  • HMR
  • React support
  • More concrete examples of using the Esri JS api with React.

ESRI JSAPI with Webpack demo

Generates separate app and vendor bundles via webpack, while pulling in the ESRI JSAPI and dojo via CDN.

npm install
typings install
npm run build
npm run test

Issues

  • To get HMR working, I had to disable bundle splitting.
  • I'm unable to get HMR working when loading the bundle using require() (i.e. the AMD require bundled with the Esri JS api.)

About

Demo app to build typescript apps using ESRI's JSAPI with webpack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 42.5%
  • TypeScript 42.2%
  • JavaScript 12.9%
  • HTML 2.4%