Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Fabrizio Ruggeri
caravaggio
Commits
0ec50fc6
Commit
0ec50fc6
authored
Jun 11, 2020
by
Fabrizio Ruggeri
Browse files
Export caravaggio both as default and named
parent
f08703c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/index.ts
src/index.ts
+3
-1
No files found.
src/index.ts
View file @
0ec50fc6
...
...
@@ -14,7 +14,7 @@ export interface Context {
pluginManager
:
PluginManager
;
}
export
default
(
config
:
Config
)
=>
{
export
const
caravaggio
=
(
config
:
Config
)
=>
{
const
logger
=
createLogger
(
config
);
const
pluginManager
=
pluginLoader
(
config
,
logger
);
...
...
@@ -35,3 +35,5 @@ export default (config: Config) => {
)
);
};
export
default
caravaggio
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment