From d3fa7658b03640a8aa747c7b5079aa7cf3cd1d86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Mon, 9 Oct 2017 12:57:27 +0300 Subject: [PATCH] Minify javascript. --- src/Volo.Abp.Identity.Web/compilerconfig.json | 4 ++++ .../wwwroot/modules/identity/views/users/index.es5.js | 6 ++++++ .../wwwroot/modules/identity/views/users/index.es5.min.js | 1 + 3 files changed, 11 insertions(+) create mode 100644 src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.es5.js create mode 100644 src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.es5.min.js diff --git a/src/Volo.Abp.Identity.Web/compilerconfig.json b/src/Volo.Abp.Identity.Web/compilerconfig.json index 5012a34173..c1d8f6c5c9 100644 --- a/src/Volo.Abp.Identity.Web/compilerconfig.json +++ b/src/Volo.Abp.Identity.Web/compilerconfig.json @@ -2,5 +2,9 @@ { "outputFile": "wwwroot/modules/identity/views/users/index.css", "inputFile": "wwwroot/modules/identity/views/users/index.less" + }, + { + "outputFile": "wwwroot/modules/identity/views/users/index.es5.js", + "inputFile": "wwwroot/modules/identity/views/users/index.js" } ] \ No newline at end of file diff --git a/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.es5.js b/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.es5.js new file mode 100644 index 0000000000..bc6107abbc --- /dev/null +++ b/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.es5.js @@ -0,0 +1,6 @@ +'use strict'; + +$(function () { + $('#IdentityUsersTable').DataTable(); +}); + diff --git a/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.es5.min.js b/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.es5.min.js new file mode 100644 index 0000000000..9a2c19267e --- /dev/null +++ b/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.es5.min.js @@ -0,0 +1 @@ +"use strict";$(function(){$("#IdentityUsersTable").DataTable()}); \ No newline at end of file