const registerLoader = require('@sanity/plugin-loader')

registerLoader({basePath: process.cwd(), stubCss: true})

const registerLoader = require('@sanity/plugin-loader')

// eslint-disable-next-line no-process-env
registerLoader({basePath: process.env.SANITY_BASE_PATH || process.cwd(), stubCss: true})

determine correct base path for `sanity exec` (#2641)