Skip to content

Esri/enterprise-build-sample-js

Repository files navigation

enterprise-build-sample-js

This sample application shows how to apply webpack on a legacy 4.x ArcGIS API for JavaScript application to get it ready for production. This sample is using the 4.10 version of the ArcGIS API for JavaScript.

App

Features

  • Sample Enterprise Application - Formatted and developed to work with Automated Webpack Builds
  • Sample Webpack Config - Sample webpack files to be adapted to your own applications

Instructions

  1. install git
  2. install Node.js
  3. Fork and then clone this repository.
  4. Navigate to the folder project was cloned to.
  5. Install local node packages into your project by running npm install
  6. Run the webpack build using grunt by running npm run build
  7. When the build is complete the dist directory should be a production ready version of the application

Requirements

  • Notepad or your favorite HTML editor
  • Node.js
  • Web browser with access to the Internet

Resources

Issues

Find a bug or want to request a new feature? Please let us know by submitting an issue.

Contributing

Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.

Licensing

Copyright 2015 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's license.txt file.