From d7753e3966acb994d9b26e64cbea2e67648178c1 Mon Sep 17 00:00:00 2001 From: Philipp Kursawe Date: Fri, 17 Mar 2017 09:54:17 +0100 Subject: [PATCH] Change module type to UMD to support webpack at al --- Gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index ecd5d95..44672cb 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -19,7 +19,7 @@ module.exports = function (grunt) { // outDir:'build', options: { target: 'es5', - module: 'commonjs', + module: 'umd', sourceMap: true, additionalFlags: "--declaration" } @@ -80,4 +80,4 @@ module.exports = function (grunt) { grunt.registerTask('meteor-test', ['exec:meteor-init', 'exec:meteor-test', 'exec:meteor-cleanup']); grunt.registerTask('meteor-publish', ['exec:meteor-init', 'exec:meteor-publish', 'exec:meteor-cleanup']); grunt.registerTask('meteor', ['exec:meteor-init', 'exec:meteor-test', 'exec:meteor-publish', 'exec:meteor-cleanup']); -}; \ No newline at end of file +};