Results 1 to 2 of 2

Thread: Addon NPM package not included in production build

  1. #1

    Join Date
    Nov 2010
    Location
    Canton, GA, USA
    Posts
    190
    Answers
    6

    Default Answered: Addon NPM package not included in production build

    Originally asked at https://www.sencha.com/forum/showthr...sktop-template. Repeating here now that I have access to this forum.

    Like tangix in the post linked above, I have used NPM to add a module and am using it successfully in development. In my case it's the "markdown-it" module so I have this in index.js

    Code:
    Ext.xMarkdownIt = require('markdown-it')()
    I am able to used Ext.xMarkdownIt in my code when running the development server but Ext.MarkdownIt is undefined when running the production build. What am I missing?

  2. This was resolved by upgrading to the recent 7.1 release.

  3. #2

    Join Date
    Nov 2010
    Location
    Canton, GA, USA
    Posts
    190
    Answers
    6

    Default

    This was resolved by upgrading to the recent 7.1 release.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •