Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4829

How can i add a library(bower or npm package) to ember-cli-mirage

$
0
0

@GaribaldyCramer wrote:

How can i add a library to config.js file into mirage folder ?

I've been trying to add a library to ember cli mirage to transform some data

//mirage/config.js

import LIBRARY from "./../node_modules/My_npm_package";

export default function() {

...

it never find the library, and i also tried with something like this

var library = require('library');

i must be missing something but the thing is, i don't want to touch the addon itself to make it work.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4829

Trending Articles