forked from WikiEducationFoundation/WikiEduDashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
55 lines (41 loc) · 1.38 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
53
54
55
//--------------------------------------------------------
// Config Variables
//--------------------------------------------------------
module.exports = {
// Source path
sourcePath: 'app/assets',
// View path
viewPath: 'app/views',
// Compile path
outputPath: 'public/assets',
// Public directory
publicPath: 'public',
// Test path
testPath: 'test',
// Directory where vendor files live
vendorPath: 'vendor',
// Name of JavaScript directory
jsDirectory: 'javascripts',
// Name of CSS directory
cssDirectory: 'stylesheets',
// Name of Images directory
imagesDirectory: 'images',
// Name of SVG directory
svgDirectory: 'svg',
// Name of Fonts directory
fontsDirectory: 'fonts',
// Name of main JS file
jsMainFile: 'main',
// Name of main CSS file
cssMainFiles: '+(main|training|surveys|styleguide)',
// The below feature sets are required for the lodash functions we use.
// If in future, there is a need to use an additional lodash method other than what we already use,
// make sure that the function belongs to one of the feature sets enabled below and if not,
// enable the appropriate feature set by adding to the below config for the function to work as expected.
// https://github.com/lodash/lodash-webpack-plugin#feature-sets
requiredLodashFeatures: {
collections: true,
shorthands: true,
flattening: true
}
};