Commit 313abee8 authored by PiTrem's avatar PiTrem
Browse files

Use the Production Build

parent b239b033
......@@ -109,7 +109,7 @@ module Chemotion
end # of config.before_configuration
config.browserify_rails.commandline_options = "-t [ babelify --presets [ es2015 react ] --plugins [ transform-object-rest-spread ] ] "# -t aliasify "
config.browserify_rails.commandline_options = "-t [ babelify --presets [ es2015 react ] --plugins [ transform-object-rest-spread ] "
# Environments in which to generate source maps
# The default is none
......
......@@ -89,5 +89,7 @@ Rails.application.configure do
:enable_starttls_auto => ENV['SMTP_TLS'] && ENV['SMTP_TLS'].match(/true/),
:openssl_verify_mode => ENV['SMTP_SSL_MODE']
}
config.browserify_rails.commandline_options = "-t [ babelify --presets [ es2015 react ] --plugins [ transform-object-rest-spread ] ] -g uglifyify -p bundle-collapser/plugin "
end
......@@ -2,8 +2,8 @@
"name": "chemotion",
"repository": {},
"dependencies": {
"ag-grid":"8.0.0",
"ag-grid-react":"8.0.0",
"ag-grid": "8.0.0",
"ag-grid-react": "8.0.0",
"alt": "0.18.6",
"alt-utils": "1.0.0",
"aviator": "v0.6.1",
......@@ -75,6 +75,9 @@
"babel-core": "^6.11.4",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.11.1",
"bundle-collapser": "^1.2.1",
"envify": "^4.0.0",
"enzyme": "^2.4.1",
"eslint": "^3.3.1",
"eslint-plugin-react": "^6.1.1",
"expect": "^1.20.2",
......@@ -83,9 +86,10 @@
"mocha": "^3.0.1",
"react-addons-test-utils": "15.3.2",
"react-dom": "^15.3.2",
"enzyme": "^2.4.1",
"sinon": "^1.17.5",
"sinon-spy-react": "^2.0.0"
"sinon-spy-react": "^2.0.0",
"uglify-js": "^3.0.9",
"uglifyify": "^3.0.4"
},
"scripts": {
"test": "mocha --compilers js:babel-core/register --require 'jsdom-global/register' './spec/javascripts/helper/setup.js' './spec/javascripts/**/*.spec.js'"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment