0.55.8 • Published 3 months ago

@startupjs/babel-plugin-startupjs-plugins v0.55.8

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

@startupjs/babel-plugin-startupjs-plugins

Gather startupjs modules and plugins together with their options to be feed into registry.

Example

import plugins from 'startupjs/plugins'

↓ ↓ ↓ ↓ ↓ ↓

import module1 from '/path/to/module-1'
import plugin1Isomorphic from '/path/to/startupjs-plugin-1/isomorphic'
import plugin1Server from '/path/to/startupjs-plugin-1/server'
import plugin1ServerConfig from '/startupjs.config/startupjs-plugin-1/server'
const plugins = [
  {
    type: 'module',
    name: 'module-1'
  },
  {
    type: 'plugin',
    name: 'startupjs-plugin-1',
    for: 'startupjs',
    inits: [
      {
        env: 'isomorphic',
        init: plugin1Isomorphic,
        config: {}
      },
      {
        env: 'server',
        init: plugin1Server,
        config: plugin1ServerConfig
      },
    ]
  }
]

Licence

MIT

0.56.0-alpha.40

3 months ago

0.56.0-alpha.35

3 months ago

0.56.0-alpha.13

3 months ago

0.56.0-alpha.11

3 months ago

0.56.0-alpha.10

3 months ago

0.56.0-alpha.8

3 months ago

0.56.0-alpha.1

4 months ago

0.56.0-alpha.0

4 months ago

0.55.8

5 months ago

0.55.7

5 months ago

0.55.6

5 months ago