Results 1 to 2 of 2

Thread: How to exclude the ExtJS library from bundle

  1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    14

    Default How to exclude the ExtJS library from bundle

    Hello,

    When building a component with Ext-React, I want to exclude the ExtJS library from the bundle, as you can already exclude React from the bundle as described here https://github.com/webpack/webpack/issues/1275

    The ExtJS library will be loaded manually with a script tag. I just want the ext-react/ext.js bundle to not include the ExtJS library !

    This is because I want to create multiple reusable components with Ext-React(with no bundled ExtJs library) and inject them into an existing old ExtJS app.

    Is this possible now ? Can you show me a way please ?

    Thanks.

    P.S. Already tried to configure webpack with

    Code:
    externals: { ext : "Ext" }

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017
    Posts
    1,006
    Answers
    5

    Default

    Hi there- Sorry for the trouble. I have shared this with the support team and asked that they look into this and reach out to you to provide some assistance. Your patience is appreciated.

    Thanks,

    Michele

Similar Threads

  1. Browserify bundle.js ExtJS?
    By BraxtonSimpson in forum Ext JS 6.x Q&A
    Replies: 2
    Last Post: 7 Feb 2017, 9:27 AM
  2. Extjs-bundle VS direct-bundle
    By zenrast in forum Ext: Q&A
    Replies: 1
    Last Post: 23 Dec 2013, 10:22 AM
  3. How can I read a variable ouside 'bundle.onReady()' in Ext.i18n.Bundle ?
    By jnabhishek in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 21 Jun 2011, 1:24 PM

Posting Permissions

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