Skip to content

Commit

Permalink
fix(ember): set top level ember config so preproccessors are registered
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Oct 27, 2022
1 parent e697f11 commit 723a94c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion index.js
Expand Up @@ -11,7 +11,15 @@ module.exports = {
const { ember } = require('./configs/ember');
const { json } = require('./configs/json');

return configCreator(ember, json);
let defaultConfig = configCreator(ember, json);

return () => {
return {
plugins: ['ember'],
extends: ['plugin:ember/recommended'],
...defaultConfig(),
};
};
},
get nodeCJS() {
const { nodeCJS } = require('./configs/node');
Expand Down

0 comments on commit 723a94c

Please sign in to comment.