Deprecations Added in Ember CLI 5.x

What follows is a list of deprecations introduced to Ember CLI during the 5.x cycle.

For more information on deprecations in Ember CLI, see the main deprecations page.

Deprecations Added in 5.3.0

§ outputPaths build option

until: 6.0.0
id: ember-cli.outputPaths-build-option

Using the outputPaths build option is deprecated, as output paths will no longer be predetermined under Embroider.

To resolve the deprecation, please remove the outputPaths build option from your ember-cli-build.js file:

module.exports = function (defaults) {
  const app = new EmberApp(defaults, {
-   outputPaths: {
-     app: {
-       js: `/assets/foo.js`,
-     },
-   },
  };
};

And update your app/index.html file accordingly:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>MyAppName</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    {{content-for "head"}}

    <link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor-d708868dee9785fe41b036437dc2109a.css">
    <link integrity="" rel="stylesheet" href="{{rootURL}}assets/my-app-name.css">

    {{content-for "head-footer"}}
  </head>
  <body>
    {{content-for "body"}}

    <script src="{{rootURL}}assets/vendor-72f087da529c7bf64ae42ca662930a80.js"></script>
-   <script src="{{rootURL}}assets/foo.js"></script>
+   <script src="{{rootURL}}assets/my-app-name.js"></script>

    {{content-for "body-footer"}}
  </body>
</html>