Add requirejs optimizer configuration
authorTim Düsterhus <duesterhus@woltlab.com>
Sun, 3 May 2015 21:48:13 +0000 (23:48 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Sun, 3 May 2015 21:50:59 +0000 (23:50 +0200)
wcfsetup/install/files/js/require.build.js [new file with mode: 0644]

diff --git a/wcfsetup/install/files/js/require.build.js b/wcfsetup/install/files/js/require.build.js
new file mode 100644 (file)
index 0000000..bb8908d
--- /dev/null
@@ -0,0 +1,14 @@
+({
+       mainConfigFile: 'require.config.js',
+       name: "WoltLab/WCF/Bootstrap",
+       out: "WCF.Combined.min.js",
+       useStrict: true,
+       paths: {
+               "requireLib": "require",
+               
+               "jQuery": "empty:"
+       },
+       include: [
+               "requireLib"
+       ]
+})