From f5e039c822d91285b2db60847481093ee1aba292 Mon Sep 17 00:00:00 2001 From: knalli Date: Fri, 5 Jun 2015 21:40:56 +0200 Subject: [PATCH] fix(build): ensure MessageFormat will be added correctly when using UMD Solves #1068 --- Gruntfile.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Gruntfile.js b/Gruntfile.js index aae8e373c..461c3da43 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -543,6 +543,14 @@ module.exports = function (grunt) { dest: '<%= concat.core.dest %>' }, 'messageformat_interpolation': { + options: { + deps: { + 'default': ['MessageFormat'], + amd: ['messageformat'], + cjs: ['messageformat'], + global: ['MessageFormat'] + } + }, src: '<%= concat.messageformat_interpolation.dest %>', dest: '<%= concat.messageformat_interpolation.dest %>' },