From e84b95925a9f7a0c9a1188833603ebcaf031976d Mon Sep 17 00:00:00 2001 From: Chuck Dumont Date: Mon, 10 Jul 2017 12:13:10 -0400 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aa4e2e2..33dae08 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ plugins: [ Because the loader config is used to resolve module paths both at build time, and on the client, you may need to conditionally specify some properties, such as `baseUrl`, depending on whether the current environment is node or a browser. This may be necessary if you need `require.toUrl()` to return a valid URLs on the client or if you want to support non-packed versions of the app (e.g. for development). See [js/loaderConfig.js](https://github.com/OpenNTF/dojo-webpack-plugin-sample/blob/master/js/loaderConfig.js) in the sample project for an example of a Dojo loader config that works both with and without webpack. -The loader config may be specified as an object, or as a string which represents the name of a CommonJS module that exports the config. If you need to do conditional processing within the config based on the environment (node or browser), then specify it as a module name, otherwise, all processing will be evaluated at build time. +The loader config may be specified as an object, or as a string which represents the name of a CommonJS module that exports the config. # Dojo loader extensions