@sencha/ext-webpack-plugin
Version:
A webpack plugin for ext-* applications
36 lines (23 loc) • 815 B
Markdown
# ext-webpack-plugin
A [Webpack](https://webpack.js.org/) plugin for [Sencha EXTJS](https://www.sencha.com/products/extjs) applications to watch the file changes during development.
## Installation
Install [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).
```bash
npm install --save-dev @sencha/ext-webpack-plugin
```
## Usage
In your webpack configuration,
```js
const ExtWebpackPlugin = require('@sencha/ext-webpack-plugin');
...
module.exports = function (env) {
return {
...
plugins: [
new ExtWebpackPlugin
...
]
}
}
```
This will be included in your webpack configuration if you generate the application using [@sencha/ext-angular-gen](https://github.com/sencha/ext-angular/tree/ext-angular-7.2.x/packages/ext-angular-gen)