-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.js
52 lines (51 loc) · 1.32 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
/*
|-------------------------------------------------------------------------------
| Development config https://maizzle.com/docs/environments/#local
|-------------------------------------------------------------------------------
|
| The exported object contains the default Maizzle settings for development.
| This is used when you run `maizzle build` or `maizzle serve` and it has
| the fastest build time, since most transformations are disabled.
|
*/
module.exports = {
build: {
templates: {
source: 'src/maizzle/templates',
destination: {
path: '.build_local',
},
assets: {
source: 'src/maizzle/assets/images',
destination: 'public',
},
},
components: {
root: 'src/maizzle/components',
},
layouts: {
root: 'src/maizzle/layouts',
},
tailwind: {
config: 'src/maizzle/tailwind.config.js',
css: 'src/maizzle/assets/css/main.css',
},
},
baseURL: '/public/',
locals: {
dynamic: new Proxy(
{},
{
get: function (target, property) {
if (property.toString() === '$$typeof') {
return;
} else if (target in target) {
return target[property];
} else {
return `$${property.toString()}`;
}
},
},
),
},
};