From 96f27d1b5266577eab9641be86fa715807e6ef86 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 11 Jan 2017 08:38:32 +0000 Subject: [PATCH] I dont need react --- package.json | 1 - plugins/static_build.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 8acd4cd..a0d09e5 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "devDependencies": { "autoprefixer": "=6.5.0", "babel-preset-es2015": "=6.13.2", - "babel-preset-react": "=6.11.1", "babelify": "=7.3.0", "browserify": "=13.1.0", "clean-css": "=3.4.20", diff --git a/plugins/static_build.py b/plugins/static_build.py index eedc36a..c8dc760 100644 --- a/plugins/static_build.py +++ b/plugins/static_build.py @@ -43,7 +43,7 @@ def static_build(*args, **kwargs): run_command('Building jQuery', [node_bin('uglifyjs'), 'node_modules/jquery/dist/jquery.js', UGLIFY_ARGS, '-o', 'theme/static/build/js/jquery.js']) run_command('Building Application', [ node_bin('browserify'), - '-t', '[', 'babelify', '--presets', '[', 'es2015', 'react', ']', ']', + '-t', '[', 'babelify', '--presets', '[', 'es2015', ']', ']', 'theme/static/src/js/app.js', '-o', 'theme/static/build/js/app.js' ])