2.8.18 • Published 3 years ago

dojo-webpack-plugin-sample v2.8.18

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

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.

2.8.18

3 years ago

2.7.4

6 years ago