Data: 3.11 emits a warning during build

Created on 3 Jul 2019  Â·  4Comments  Â·  Source: emberjs/data

Reproduction:

  1. Using ember-cli 3.10.1 (which is the latest stable as of this writing), run ember new example-app.
  2. cd example-app
  3. ember install ember-data (I got 3.11.0).
  4. ember build

You will see this warning printed in the terminal:

'ember-inflector' is imported by -private/build-url-mixin.js, but could not be resolved – treating it as an external dependency

which I think comes from Ember Data's rollup.

Probably ember-inflector is supposed to be an external dependency, but it needs to be configured explicitly so rollup doesn't warn.

Good for New Contributors

Most helpful comment

Will be fixed by #6242

All 4 comments

I see this on master as well as of 2c2cfb99ba16232fbc779371acc2e14415cfe484.

hrm, I swear I zapped all of these prior to releasing 3.11. Will take a poke at it later.

Getting the same warning after upgrading to 3.11.

Will be fixed by #6242

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jherdman picture jherdman  Â·  4Comments

buschtoens picture buschtoens  Â·  4Comments

graham-sportsmgmt picture graham-sportsmgmt  Â·  3Comments

NullVoxPopuli picture NullVoxPopuli  Â·  5Comments

bekicot picture bekicot  Â·  4Comments