1

I have import an external lib using code snippet below in ember-cli-build.js file,

app.import('./bower_components/js-combinatorics/combinatorics.js');

It works fine in development mode, however, when after ember build -prod browser complains the lib cannot be found.

It is also works fine in normal build, ember build

Reference, https://stackoverflow.com/a/38268376/2226315

Community
  • 1
  • 1
XY L
  • 25,431
  • 14
  • 84
  • 143

1 Answers1

1

Yes. It will work correctly without ./

Refer this issue

Ember Freak
  • 12,918
  • 4
  • 24
  • 54