Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: emberjs/ember-cli-babel
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.4.1
Choose a base ref
...
head repository: emberjs/ember-cli-babel
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.4.2
Choose a head ref
  • 6 commits
  • 6 files changed
  • 2 contributors

Commits on Feb 12, 2019

  1. Update to [email protected].

    Robert Jackson
    Robert Jackson committed Feb 12, 2019
    Configuration menu
    Copy the full SHA
    4d025ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2c2adb View commit details
    Browse the repository at this point in the history
  3. Ensure external helpers are not used when modules are not transpiled.

    When using something akin to the following somewhat common pattern:
    
    ```js
    let babel = this.addons.find(addon => addon.name === 'ember-cli-babel');
    let tree = babel.transpileTree(input, {
      'ember-cli-babel': {
        compileModules: false,
      }
    });
    ```
    
    The previous logic would still attempt to use external helpers even when
    modules themselves are not being transpiled. This meant that the final
    output would include untranspiled `import` statements.
    
    This affects common addons such as:
    
    * ember-fetch
    * ember-service-worker
    * ember-data
    * @ember/test-helpers
    * ember-angle-bracket-invocation-polyfill
    * ember-modifier-manager-polyfill
    
    ---
    
    The fix here is to detect that modules will not be compiled, and avoid
    usage of the external helpers.
    
    This also moves the validation that parent addon's do not specify
    `includeExternalHelpers` in their own config to the shared
    `getAddonConfig` method (and makes the logic in that method a bit easier
    to grok).
    Robert Jackson
    Robert Jackson committed Feb 12, 2019
    Configuration menu
    Copy the full SHA
    cada0c1 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #267 from rwjblue/tweak-should-include-external-he…

    …lpers
    
    Ensure external helpers are not used when modules are not transpiled.
    rwjblue authored Feb 12, 2019
    Configuration menu
    Copy the full SHA
    3a448df View commit details
    Browse the repository at this point in the history
  5. Add v7.4.2 to CHANGELOG.md.

    Robert Jackson
    Robert Jackson committed Feb 12, 2019
    Configuration menu
    Copy the full SHA
    bb8550f View commit details
    Browse the repository at this point in the history
  6. v7.4.2

    Robert Jackson
    Robert Jackson committed Feb 12, 2019
    Configuration menu
    Copy the full SHA
    d3a45b9 View commit details
    Browse the repository at this point in the history
Loading