From 0aa1a389288d04a60e667e511e2d5a971fd8aa82 Mon Sep 17 00:00:00 2001 From: Cezar Cretu Date: Thu, 25 Sep 2014 16:36:42 +0300 Subject: [PATCH] added "exports" to magic module list --- RequireJsNet.Compressor/AutoDependency/ScriptProcessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RequireJsNet.Compressor/AutoDependency/ScriptProcessor.cs b/RequireJsNet.Compressor/AutoDependency/ScriptProcessor.cs index 2b3e755..53e3b2e 100644 --- a/RequireJsNet.Compressor/AutoDependency/ScriptProcessor.cs +++ b/RequireJsNet.Compressor/AutoDependency/ScriptProcessor.cs @@ -53,7 +53,7 @@ public void Process() var deps = flattenedResults.SelectMany(r => r.Dependencies) .Where(r => !r.StartsWith("i18n")) - .Except(new List { "require", "module" }); + .Except(new List { "require", "module", "exports" }); Dependencies = deps.Select(r => GetModulePath(r)).ToList(); var shim = this.GetShim(RelativeFileName);