remix-monorepo

0.0.1 • Public • Published

remix-monorepo

Why

Remix and monorepos are not best friends, but it's getting more and more support. This package is a set of utilities to make the configuration in monorepos very simple.

Getting Started

yarn add remix-monorepo

getConfig

The purpose is to bundle the dependencies within the monorepo but also to watch & recompile when changes happen.

const { getConfig } = require('remix-monorepo')

const monorepoConfig = getConfig()

/**
 * @type {import('@remix-run/dev').AppConfig}
 */
module.exports = {
  serverDependenciesToBundle: monorepoConfig.serverDependenciesToBundle,
  watchPaths: monorepoConfig.watchPaths,
}

Readme

Keywords

none

Package Sidebar

Install

npm i remix-monorepo

Weekly Downloads

652

Version

0.0.1

License

MIT

Unpacked Size

2.59 kB

Total Files

4

Last publish

Collaborators

  • flaviouk