Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module Unification Support #117

Open
NullVoxPopuli opened this issue Jul 10, 2018 · 1 comment
Open

Module Unification Support #117

NullVoxPopuli opened this issue Jul 10, 2018 · 1 comment

Comments

@NullVoxPopuli
Copy link

NullVoxPopuli commented Jul 10, 2018

Currently, to use ember-gestures with a module unification app, the resolver needs to be modified.

// src/resolver.js
import Resolver from 'ember-resolver/resolvers/fallback';
import { merge } from '@ember/polyfills';

import buildResolverConfig from 'ember-resolver/ember-config';
import config from '../config/environment';

let moduleConfig = buildResolverConfig(config.modulePrefix);

merge(moduleConfig.types, {
  'ember-gesture': { definitiveCollection: 'main' }
});

export default Resolver.extend({ config: moduleConfig });

Though, this is using the fallback resolver... so who knows if/when changing resolvers will help fix things.

@knownasilya
Copy link

Can close this I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants