Skip to content

Commit 92a4f0c

Browse files
author
chuckd
committed
Merge branch 'master' into work2
2 parents b99fd7c + 0a0a931 commit 92a4f0c

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,33 @@
22
[![builds][builds]][builds-url]
33
[![coverage][cover]][cover-url]
44
[![licenses][licenses]][licenses-url]
5+
[![Apache 2.0 License][apache2]][apache2-url]
6+
7+
<div align="center">
8+
<a href="https://dojotoolkit.org">
9+
<img width="200" height="200" vspace="" hspace="25" alt="Dojo" title="Dojo"
10+
src="https://cdn.worldvectorlogo.com/logos/dojo.svg">
11+
</a>
12+
<a href="https://github.com/webpack/webpack">
13+
<img width="200" height="200" vspace="" hspace="25" alt="webpack" title="webpack"
14+
src="https://cdn.worldvectorlogo.com/logos/webpack-icon.svg">
15+
</a>
16+
<h1>dojo-webpack-plugin</h1>
17+
<p>Build Dojo 1.x applications with webpack<p>
18+
</div>
19+
520

621
# Introduction
722

8-
**dojo-webpack-plugin** is a [Webpack](https://webpack.github.io/) plugin that supports using Webpack to build Dojo 1.x applications that use Asyncronous Module Definition (AMD). This version supports Webpack 2 and greater. The plugin has been tested with Webpack 2.2.0 and 3.0.0, and Dojo versions 1.10 through 1.13. For Webpack 1.x, use the v1 branch of this project. Features include:
23+
**dojo-webpack-plugin** is a [Webpack](https://webpack.github.io/) plugin that supports using Webpack to build Dojo 1.x applications that use Asyncronous Module Definition (AMD). This version supports Webpack 2 and greater. The plugin has been tested with Webpack 2.2.0 and 3.6.0, and Dojo versions 1.10 through 1.13. For Webpack 1.x, use the v1 branch of this project. Features include:
924

1025
* Support for Dojo loader config properties, including `baseUrl`, `paths`, `packages`, `map` and `aliases`
1126
* Support for client-side synchronous and asynchronous `require()` calls for packed modules.
1227
* Webpack loader implementations of standard Dojo loaders (e.g. `dojo/has`, `dojo/i18n`).
1328
* Limited support for client side execution of some Dojo loader extensions.
1429

30+
See the [Release Notes](#release-notes) for important information about upgrading to from earlier versions of this plugin to 2.1+.
31+
1532
# The Dojo loader
1633

1734
**dojo-webpack-plugin** uses the Dojo loader (dojo.js) at build time to resolve modules based on the properties specified in the Dojo loader config. In addition, a stripped-down build of the loader, as well as the loader config, are embedded in the packed application to support client-side execution of `require()` calls that have not been transformed by Webpack at build time (i.e. `require()` calls that reference non-stactic variables), as well as Dojo's `require.toAbsMid()` and `require.toUrl()` functions.
@@ -264,3 +281,5 @@ In addition, Dojo loaders built with earlier versions of the plugin will not wor
264281
[cover]: https://coveralls.io/repos/github/OpenNTF/dojo-webpack-plugin/badge.svg?branch=master
265282
[licenses-url]: https://app.fossa.io/api/projects/git%2Bgithub.com%2FOpenNTF%2Fdojo-webpack-plugin
266283
[licenses]: https://app.fossa.io/api/projects/git%2Bgithub.com%2FOpenNTF%2Fdojo-webpack-plugin.svg?type=shield
284+
[apache2]: https://img.shields.io/badge/license-Apache%202-blue.svg
285+
[apache2-url]: https://www.apache.org/licenses/LICENSE-2.0.txt

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dojo-webpack-plugin",
3-
"version": "2.1.0",
3+
"version": "2.1.1",
44
"author": "Chuck Dumont",
55
"description": "Supports using webpack with Dojo 1.x applications",
66
"scripts": {

0 commit comments

Comments
 (0)