forked from esamattis/requirejs-hbs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.build.js
More file actions
25 lines (19 loc) · 743 Bytes
/
app.build.js
File metadata and controls
25 lines (19 loc) · 743 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
// This is a build configuration file aimed to use the full handlebars library.
({
baseUrl: "assets",
// Include the main config file
mainConfigFile: "assets/main.config.js",
paths: {
// Set here the path to either the full handlebars library if you want to
// be able to compile templates on the client, or the runtime only.
handlebars: "lib/handlebars-runtime"
},
name: "js/main",
// Include the require library and the main config in the build so we have
// only a single file to load. You also could use almond
// (https://github.com/jrburke/almond) here.
deps: ["lib/require", "main.config"],
// Run the module js/main as soon as it is ready.
insertRequire: ["js/main"],
dir: "assets-build"
})