Skip to content

Added support for podModulePrefix and Sass (ember-app)

Compare
Choose a tag to compare
@ijlee2 ijlee2 released this 25 Jul 18:07
· 100 commits to main since this release

The codemod will take podModulePrefix and ember-css-modules-sass into account when moving files around.

Please pass the argument --pod-path to specify your podModulePrefix. The argument's value refers to the "difference" between podModulePrefix and modulePrefix. For example, if you have the following config/environment.js:

/* config/environment.js */
'use strict';

module.exports = function (environment) {
  let ENV = {
    modulePrefix: 'my-app',
    podModulePrefix: 'my-app/pods',
    ...
  };

  return ENV;
};

then you would enter the following command:

npx ember-codemod-pod-to-octane --pod-path=pods --type=app