From 52a3b4deed2f24cd1bb21d4fca32ad769035392e Mon Sep 17 00:00:00 2001 From: Jonathan Lehman Date: Sun, 4 Oct 2015 21:25:44 -0400 Subject: [PATCH] Remove Google Closure Compiler - Seems to break things unfortunately --- dist/switcheroo.min.js | 8 +------- package.json | 3 +-- webpack.config.js | 4 +--- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/dist/switcheroo.min.js b/dist/switcheroo.min.js index 939c892..e95ce61 100644 --- a/dist/switcheroo.min.js +++ b/dist/switcheroo.min.js @@ -1,7 +1 @@ -function n(r,t){return function(g){function b(h){if(a[h])return a[h].c;var k=a[h]={c:{},id:h,loaded:!1};return g[h].call(k.c,k,k.c,b),k.loaded=!0,k.c}var a={};return b.R=g,b.L=a,b.P="",b(0)}([function(g,b,a){b.K=a(1)},function(g,b,a){function h(a,d){for(var f="constructor",c=!0;c;){var e=a,c=d;null===e&&(e=Function.prototype);var b=Object.getOwnPropertyDescriptor(e,f);if(void 0!==b){if("value"in b)return b.value;e=b.get;return void 0===e?void 0:e.call(c)}e=Object.getPrototypeOf(e);if(null===e)break; -a=e;d=c;c=!0}}function k(a,d){if("function"!=typeof d&&null!==d)throw new TypeError("Super expression must either be null or a function, not "+typeof d);a.prototype=Object.create(d&&d.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});d&&(Object.D?Object.D(a,d):a.__proto__=d)}Object.defineProperty(b,"__esModule",{value:!0});var p=function(){function a(d,b){for(var c=0;c=0.12.0 <0.14.0", "sinon": "git://github.com/cjohansen/Sinon.JS#b672042043517b9f84e14ed0fb8265126168778a", - "webpack": "^1.12.2", - "webpack-closure-compiler": "^1.0.0" + "webpack": "^1.12.2" }, "peerDependencies": { "react": ">=0.12.0 <0.14.0" diff --git a/webpack.config.js b/webpack.config.js index 84bb3be..72e1163 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,5 +1,4 @@ var webpack = require('webpack'); -var ClosureCompilerPlugin = require('webpack-closure-compiler'); module.exports = { entry: './src/index', @@ -37,7 +36,6 @@ module.exports = { } }), new webpack.optimize.DedupePlugin(), - new webpack.optimize.UglifyJsPlugin(), - new ClosureCompilerPlugin() + new webpack.optimize.UglifyJsPlugin() ] };