"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const cli_core_1 = require("@bluebase/cli-core");
// import fromRoot from '../scripts/fromRoot';
const path_1 = __importDefault(require("path"));
const fromHere = (file) => {
    return path_1.default.resolve(__dirname, file);
};
exports.default = (configDir) => {
    const defaults = cli_core_1.getDefaults(configDir);
    return [
        Object.assign({}, defaults.configs, { defaultPath: fromHere('client.config'), name: '^client.config.(js|ts)$', slug: 'client-config' }),
        Object.assign({}, defaults.configs, { defaultPath: fromHere('server.config'), name: '^server.config.(js|ts)$', slug: 'server-config' }),
        Object.assign({}, defaults.webpack, { defaultPath: fromHere('./webpack.config.client'), name: '^webpack.config.client.(js|ts)$', slug: 'client-webpack-config' }),
        Object.assign({}, defaults.webpack, { defaultPath: fromHere('./webpack.config.server'), name: '^webpack.config.server.(js|ts)$', slug: 'server-webpack-config' }),
        // {
        // 	...defaults.assetsDir,
        // 	defaultPath: fromRoot('templates/web/assets'),
        // },
        defaults.bluebase,
    ];
};
//# sourceMappingURL=index.js.map