mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
28 lines
577 B
JavaScript
28 lines
577 B
JavaScript
exports['default'] = {
|
|
plugins: (api) => {
|
|
/*
|
|
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 {}
|
|
}
|
|
}
|