I dont need react
This commit is contained in:
parent
40b0dd1286
commit
96f27d1b52
2 changed files with 1 additions and 2 deletions
|
@ -24,7 +24,6 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"autoprefixer": "=6.5.0",
|
"autoprefixer": "=6.5.0",
|
||||||
"babel-preset-es2015": "=6.13.2",
|
"babel-preset-es2015": "=6.13.2",
|
||||||
"babel-preset-react": "=6.11.1",
|
|
||||||
"babelify": "=7.3.0",
|
"babelify": "=7.3.0",
|
||||||
"browserify": "=13.1.0",
|
"browserify": "=13.1.0",
|
||||||
"clean-css": "=3.4.20",
|
"clean-css": "=3.4.20",
|
||||||
|
|
|
@ -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 jQuery', [node_bin('uglifyjs'), 'node_modules/jquery/dist/jquery.js', UGLIFY_ARGS, '-o', 'theme/static/build/js/jquery.js'])
|
||||||
run_command('Building Application', [
|
run_command('Building Application', [
|
||||||
node_bin('browserify'),
|
node_bin('browserify'),
|
||||||
'-t', '[', 'babelify', '--presets', '[', 'es2015', 'react', ']', ']',
|
'-t', '[', 'babelify', '--presets', '[', 'es2015', ']', ']',
|
||||||
'theme/static/src/js/app.js',
|
'theme/static/src/js/app.js',
|
||||||
'-o', 'theme/static/build/js/app.js'
|
'-o', 'theme/static/build/js/app.js'
|
||||||
])
|
])
|
||||||
|
|
Reference in a new issue