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' ])