0.55.8 • Published 2 months ago
@startupjs/babel-plugin-startupjs-plugins v0.55.8
@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.58.0-canary.0
9 months ago
0.59.0-canary.13
2 months ago
0.59.0-canary.12
2 months ago
0.59.0-canary.0
9 months ago
0.57.0-canary.0
1 year ago
0.57.0-canary.75
11 months ago
0.56.0-alpha.40
1 year ago
0.56.0-alpha.35
1 year ago
0.56.0-alpha.13
1 year ago
0.56.0-alpha.11
1 year ago
0.56.0-alpha.10
2 years ago
0.56.0-alpha.8
2 years ago
0.56.0-alpha.1
2 years ago
0.56.0-alpha.0
2 years ago
0.55.8
2 years ago
0.55.7
2 years ago
0.55.6
2 years ago