forked from NotePlan/plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugins.config.js
40 lines (38 loc) · 937 Bytes
/
plugins.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
const path = require('path')
// NOTE: In addition to adding alias entry, the `./.flowconfig` mapper
module.exports = {
aliasEntries: [
{
find: '@plugins',
replacement: path.resolve(__dirname),
},
{
find: '@helpers',
replacement: path.resolve('./helpers'),
},
{
find: '@mocks',
replacement: path.resolve('./__mocks__'),
},
{
find: '@templating',
replacement: path.resolve('./np.Templating/lib'),
},
{
find: '@templatingModules',
replacement: path.resolve('./np.Templating/lib/support/modules'),
},
{
find: 'NPTemplating',
replacement: path.resolve('./np.Templating/lib/NPTemplating'),
},
{
find: 'TemplatingEngine',
replacement: path.resolve('./np.Templating/lib/TemplatingEngine'),
},
{
find: 'NPGlobals',
replacement: path.resolve('./np.Globals/lib/NPGlobals'),
},
],
}