kube / monolite

Statically-typed structural-sharing tree modifier
https://www.npmjs.com/package/monolite
148 stars 6 forks source link

Bundle Babel Plugin in Monolite #37

Closed kube closed 6 years ago

kube commented 6 years ago

Bundle it with Monolite will prevent installing another dependency, and simply do:

// babel.config.js
module.exports = api => {
  return {
    presets: [
      // ..
    ],
    plugins: [
      'monolite/babel',
    ]
  }
}

This will also permit to synchronize the plugin and the library development.

kube commented 6 years ago

Related https://github.com/kube/monolite/issues/32