1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/custom-server-actionhero/config/plugins.js

28 lines
575 B
JavaScript
Raw Permalink Normal View History

2018-02-27 12:16:17 +00:00
exports['default'] = {
plugins: api => {
2018-02-27 12:16:17 +00:00
/*
If you want to use plugins in your application, include them here:
return {
'myPlugin': { path: __dirname + '/../node_modules/myPlugin' }
}
You can also toggle on or off sections of a plugin to include (default true for all sections):
return {
'myPlugin': {
path: __dirname + '/../node_modules/myPlugin',
actions: true,
tasks: true,
initializers: true,
servers: true,
public: true,
cli: true
}
}
*/
return {}
}
}