forked from jeremy5189/CryptoForm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
brunch-config.js
34 lines (29 loc) · 1.17 KB
/
brunch-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
// See http://brunch.io for documentation.
module.exports = {
files: {
javascripts: {joinTo: 'app.js'},
stylesheets: {joinTo: 'styles.css'},
},
conventions: {
ignored: [/^app\/elm\/elm-stuff/]
},
plugins: {
elmBrunch: {
// Set to path where `elm-make` is located, relative to `elmFolder` (optional)
// executablePath: '../../node_modules/elm/binwrappers',
// Set to path where elm-package.json is located, defaults to project root (optional)
// if your elm files are not in /app then make sure to configure paths.watched in main brunch config
elmFolder: 'app/elm',
// Set to the elm file(s) containing your "main" function
// `elm make` handles all elm dependencies (required)
// relative to `elmFolder`
mainModules: ['Main.elm'],
// Defaults to 'js/' folder in paths.public (optional)
outputFolder: 'vendor',
// If specified, all mainModules will be compiled to a single file (optional and merged with outputFolder)
outputFile: 'app.js',
// optional: add some parameters that are passed to elm-make
makeParameters : ['--warn']
}
}
}