Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 1.43 KB

README.md

File metadata and controls

12 lines (8 loc) · 1.43 KB

dojo-webpack-plugin-sample

Sample application demonstrating the use of dojo-webpack-plugin with webpack. The sample can be run as a webpack application (the default) or as an unpacked application that uses the native Dojo loader by specifying the ?nopack=1 query arg in the URL. It demonstrates how to construct a Dojo loader config that can be used in both weback and non-webpack versions of a Dojo application. You may want to support non-webpack versions during the development phase of your application in order to avoid build overhead during development.

npm install
npm run [build|serve]

The build script builds the sample application, placing the deployable artifacts in the release directory. The serve script builds the sample application and uses webpack-serve to host the application locally at http://localhost:8080/test.html. It automatically launches a browser to load and run the application.

@GordonSmith provides a fork of the sample app with some variations in here.