dojo-webpack-plugin-sample

2.8.18 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i dojo-webpack-plugin-sample

Weekly Downloads

1

Version

2.8.18

License

Apache-2.0

Unpacked Size

16.3 kB

Total Files

14

Last publish

Collaborators

  • chuckdumont