diff --git a/packages/core/src/server/flecks.js b/packages/core/src/server/flecks.js index ed152db..2c5aa9f 100644 --- a/packages/core/src/server/flecks.js +++ b/packages/core/src/server/flecks.js @@ -42,7 +42,7 @@ export default class ServerFlecks extends Flecks { // // The latter will take precedence. const seen = []; - Object.keys(resolver) + Object.keys(this.flecks) .sort((l, r) => (l < r ? 1 : -1)) .forEach((fleck) => { const prefix = `FLECKS_ENV_${ diff --git a/packages/server/src/entry.js b/packages/server/src/entry.js index 28470d9..e8935e1 100644 --- a/packages/server/src/entry.js +++ b/packages/server/src/entry.js @@ -2,7 +2,8 @@ import {mkdir} from 'fs/promises'; import {tmpdir} from 'os'; import {join} from 'path'; -import {D, Flecks} from '@flecks/core'; +import {D} from '@flecks/core'; +import {Flecks} from '@flecks/core/server'; const {version} = require('../package.json');