From 8f91067549bc2bb0e4ebcbc55eb8e81e500da3ba Mon Sep 17 00:00:00 2001 From: Muhammed Thanish Date: Mon, 18 Jul 2016 14:03:59 +0530 Subject: [PATCH] Fix prepublish script --- scripts/prepublish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prepublish.js b/scripts/prepublish.js index 1fd3cef498e3..4ecc6f067ddd 100755 --- a/scripts/prepublish.js +++ b/scripts/prepublish.js @@ -8,7 +8,7 @@ rm('-rf', 'dist') var babel = ['node_modules', '.bin', 'babel'].join(path.sep); exec(babel + " --ignore __tests__,manager --plugins transform-runtime src --out-dir dist") -if(process.env.DEV_BUILD){ +if(!process.env.DEV_BUILD){ var webpack = ['node_modules', '.bin', 'webpack'].join(path.sep); var webpackManagerConf = ["scripts", "webpack.manager.conf.js"].join(path.sep); exec(webpack + " --config " + webpackManagerConf)