Socket
Socket
Sign inDemoInstall

ember-simple-mu-resolver

Package Overview
Dependencies
3
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-simple-mu-resolver


Version published
Weekly downloads
12
increased by100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

ember-simple-mu-resolver

Ember Simple Module Unification Resolver this does not resolve local components and helpers, instead this should to be used together with ember-hbs-imports

Use addon service

@service('myaddon@myservice')

initializers in init folder

in app.js add

loadInitializers(App, config.modulePrefix + '/init');

styles in ui folder

new EmberApp({
    trees: {
      styles: 'app/ui/styles'
    },
   ...

index.html in ui folder

add the following to ember-cli-build.js

const tree = new Funnel('app/ui', {
    allowEmtpy: true,
    include: ['index.html'],
    destDir: app.name,
    annotation: 'ui to index.html'
  });

  const toArray = app.toArray;
  app.toArray = function () {
    const arr = toArray.call(this);
    arr.push(tree);
    return arr;
  };

Installation

ember install ember-simple-mu-resolver

Usage

This will automatically setup the resolver

License

This project is licensed under the MIT License.

Keywords

FAQs

Last updated on 07 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc