aboutsummaryrefslogtreecommitdiffstats
path: root/build/tasks/build.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/tasks/build.js')
-rw-r--r--build/tasks/build.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/tasks/build.js b/build/tasks/build.js
index bdde74cee..71c20a81a 100644
--- a/build/tasks/build.js
+++ b/build/tasks/build.js
@@ -9,6 +9,7 @@
module.exports = function( grunt ) {
var fs = require( "fs" ),
requirejs = require( "requirejs" ),
+ slimBuildFlags = require( "./lib/slim-build-flags" ),
Insight = require( "insight" ),
pkg = require( "../../package.json" ),
srcFolder = __dirname + "/../../src/",
@@ -348,7 +349,7 @@ module.exports = function( grunt ) {
// the official slim build
.reduce( ( acc, elem ) => acc.concat(
elem === "slim" ?
- [ "-ajax", "-effects" ] :
+ slimBuildFlags :
[ elem ]
), [] )