forked from loft-sh/devpod
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
37 lines (31 loc) · 697 Bytes
/
netlify.toml
File metadata and controls
37 lines (31 loc) · 697 Bytes
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
[build]
base = "docs/"
publish = "build/"
command = """
set -e
export OUT_DIR="build/"
export TARGET_OUT_DIR="build/docs"
# Build docs
yarn build
# Delete fragments folder
#rm -rf $OUT_DIR/fragments
# Move files to build/docs/
mkdir -p tmp-$TARGET_OUT_DIR
mv $OUT_DIR/* tmp-$TARGET_OUT_DIR
mkdir -p $TARGET_OUT_DIR
mv tmp-$TARGET_OUT_DIR/* $TARGET_OUT_DIR
# Add extra files
mv public/* $OUT_DIR/
"""
[build.processing]
skip_processing = false
[build.processing.html]
pretty_urls = true
[build.processing.css]
bundle = false
minify = false
[build.processing.js]
bundle = false
minify = false
[build.processing.images]
compress = true