ext-parser
The `extjs-parser` interprets the specified Ext framework directory and generates a map file of class names and requires.
Last updated 3 years ago by steveetm .
ISC · Original npm · Tarball · package.json
$ cnpm install ext-parser 
SYNC missed versions from official npm registry.

Ext.js framework parser for extjs-loader

The extjs-parser interprets the specified Ext framework directory and generates a map file of class names and requires.

Install

npm install --save extjs-parser

Test

Run tests with

npm test 

Via webpack config (recommended)

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.js/,
        use: [ 
            {
                loader: 'extjs-loader',
                debug: true,
                nameSpace: 'MyApp',
                paths: {
                    'Deft': false,
                    'Ext.ux': 'utils/ux',
                    'Ext': new extjsParser({
                        toolkit: 'modern',
                        path:'~/ext/sdk/'
                        }),
                    'Override': 'app/overrides',
                    'MyApp': 'app'
                }
            } ]
      }
    ]
  }
}

Options

Maintainers


Zoltan Magyar

Steveetm

Current Tags

  • 1.0.1                                ...           latest (3 years ago)

1 Versions

  • 1.0.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (7)
Dev Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |