@sencha/ext-webpack-plugin

A webpack plugin for ext-* applications

Usage no npm install needed!

<script type="module">
  import senchaExtWebpackPlugin from 'https://cdn.skypack.dev/@sencha/ext-webpack-plugin';
</script>

README

ext-webpack-plugin

A Webpack plugin for Sencha EXTJS applications to watch the file changes during development.

Installation

Install npm (we assume you have pre-installed node.js).

npm install --save-dev @sencha/ext-webpack-plugin

Usage

In your webpack configuration,

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