You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to figure out this problem too. The index.js file of your ember addon should look like:
/* eslint-env node */
'use strict';
module.exports = {
name: 'your-ember-addon',
options: {
svgJar: {
sourceDirs: [
// In my case I wanted to load the files in a folder inside of the addon folder:
'node_modules/your-ember-addon/mysvgfolder',
]
},
},
};
I have to add
in order to see icons in the viewer when serving the dummy app. Haven't tried yet in an app that uses this addon.
According to #52 this shouldn't be necessary. What gives?
My addon is namespaced in case that is important.
The text was updated successfully, but these errors were encountered: