-
Notifications
You must be signed in to change notification settings - Fork 44
/
faucet.config.js
45 lines (45 loc) · 1.11 KB
/
faucet.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
module.exports = {
js: [
{
source: "./node_modules/jquery/dist/jquery.js",
target: "./public/assets/javascripts/jquery.js",
exports: "jQuery",
compact: "mangle"
},
{
source: "./app/assets/javascripts/manifest.js",
target: "./public/assets/javascripts/manifest.js",
externals: { jquery: "jQuery" },
},
{
source: "./node_modules/bootstrap/dist/js/bootstrap.bundle.min.js",
target: "./public/assets/javascripts/bootstrap.bundle.min.js",
externals: { jquery: "jQuery" },
compact: "minify"
}
],
sass: [{
source: "./app/assets/stylesheets/manifest.scss",
target: "./public/assets/stylesheets/manifest.css"
}],
static: [{
source: "./app/assets/images",
target: "./public/assets/images"
},
{
source: "./app/assets/fonts",
target: "./public/assets/fonts"
},
{
source: "./node_modules/font-awesome/fonts",
target: "./public/assets/fonts",
fingerprint: false
}
],
manifest: {
target: "./public/assets/manifest.json",
key: "short",
webRoot: "./public"
},
watchDirs: ["./app/assets"]
};