From 065b439db23a95b2cc7ed62e8a9100eba942f15c Mon Sep 17 00:00:00 2001 From: Austin Date: Tue, 8 Nov 2016 21:23:44 -0500 Subject: [PATCH] (chore): fix windows builds --- package.json | 4 ++-- release/index.min.js | 2 ++ release/index.min.js.map | 1 + release/utils/sort.d.ts | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 release/index.min.js create mode 100644 release/index.min.js.map diff --git a/package.json b/package.json index d150661ad..d3790054a 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,8 @@ "clean:dist": "rimraf dist", "clean:release": "rimraf release", "build": "webpack --display-error-details", - "build:release": "NODE_ENV=production npm run build", - "build:package": "NODE_ENV=package npm run build", + "build:release": "SET NODE_ENV=production & npm run build", + "build:package": "SET NODE_ENV=package & npm run build", "build:ts": "tsc", "build:aot": "ngc", "build:sass": "node-sass -o dist/ src/", diff --git a/release/index.min.js b/release/index.min.js new file mode 100644 index 000000000..84bcc58d3 --- /dev/null +++ b/release/index.min.js @@ -0,0 +1,2 @@ +"use strict";function __export(e){for(var r in e)exports.hasOwnProperty(r)||(exports[r]=e[r])}__export(require("./datatable.module")),__export(require("./types")),__export(require("./components")); +//# sourceMappingURL=release/index.js.map \ No newline at end of file diff --git a/release/index.min.js.map b/release/index.min.js.map new file mode 100644 index 000000000..f32cf7080 --- /dev/null +++ b/release/index.min.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["release/index.js"],"names":["__export","m","p","exports","hasOwnProperty","require"],"mappings":"AAAA,YACA,SAASA,UAASC,GACd,IAAK,GAAIC,KAAKD,GAAQE,QAAQC,eAAeF,KAAIC,QAAQD,GAAKD,EAAEC,IAEpEF,SAASK,QAAQ,uBACjBL,SAASK,QAAQ,YACjBL,SAASK,QAAQ","file":"release/index.min.js"} \ No newline at end of file diff --git a/release/utils/sort.d.ts b/release/utils/sort.d.ts index e4f5a7328..c62f5fcab 100644 --- a/release/utils/sort.d.ts +++ b/release/utils/sort.d.ts @@ -1,4 +1,4 @@ -/// + import { SortType, SortDirection } from '../types'; /** * Gets the next sort direction