Reputation: 27387
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
Upvotes: 1
Views: 53