Closed achambers closed 1 year ago
In order to place nicely with Embroider, we need to remove require. Instead we can use dependencySatisfies and importSync.
require
dependencySatisfies
importSync
Resolves #740
Changes proposed:
Tasks:
N/A
@achambers Awesome!
@achambers is this also possible for import __EMBER_METAL__ from '@ember/-internals/metal/index'; https://github.com/adopted-ember-addons/ember-cp-validations/issues/739?
import __EMBER_METAL__ from '@ember/-internals/metal/index';
In order to place nicely with Embroider, we need to remove
require
. Instead we can usedependencySatisfies
andimportSync
.Resolves #740
Changes proposed:
require
and replace withdependencySatisfies
andimportSync
. (docs)Tasks:
N/A