react_webpack_rails 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc3c752488603fdb973882bb3e20ba9f7f41ede7
4
- data.tar.gz: fa127620618ef5c6b0ee93ca066684d28ecbc02a
3
+ metadata.gz: 4abcce90a9fd0f8ee452f26d43740e03dcb50cb6
4
+ data.tar.gz: a8ce7c8838761c50eb669e6d9161171696581139
5
5
  SHA512:
6
- metadata.gz: f85dc801dd5df4ea8f60b5f759806e0d935dce4bb9dfbee7133a7d6231d075b3bc98ccd99314598c2a8fe936e966604c56496b8b5446437cadb1cb4ed6890305
7
- data.tar.gz: cb4e64ca3e72c7033ae05bc527d09ca063e3614953c5610cdbaabb70ec782bb59df1783fe96f148dcdaae798f121a79a0ecf6d1d261b0187d8c8dafbe95861eb
6
+ metadata.gz: 358ab702580f5a5bc3db430ad47e33cb239e26362abd9ef89b4783e03fa6cb9e6d112c5faacc857081d9486ce67f4a8479483ce0fff153aacb9bb57f20682a68
7
+ data.tar.gz: 6cda137ad21c6aaed000f946501a748b85ee06d58e03a36c77621964a1f554912eac9678324c066478d36ffdf6de25df45d86dcbc529925f843a6eef5f51d63f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,20 @@
1
+ ## 0.4.1
2
+ * Update install generator - set NODE_ENV for production.
3
+
4
+ #### migration 0.4.0 -> 0.4.1
5
+ * replace `webpack/productino.config.js` with:
6
+
7
+ ```js
8
+ const Webpack = require('webpack');
9
+ const config = require('./../webpack.config');
10
+
11
+ config.plugins.push(
12
+ new Webpack.DefinePlugin({'process.env': {'NODE_ENV': '"production"'}})
13
+ );
14
+
15
+ module.exports = config;
16
+ ```
17
+
1
18
  ## 0.4.0
2
19
  * Use React 15.x
3
20
  * Added Redux Generator
data/js/src/version.js CHANGED
@@ -1 +1 @@
1
- export default '0.4.0';
1
+ export default '0.4.1';
@@ -18,7 +18,7 @@
18
18
  "react": "^15.0.1",
19
19
  "react-addons-test-utils": "^15.0.1",
20
20
  "react-dom": "^15.0.1",
21
- "react-webpack-rails": "^0.3.0",
21
+ "react-webpack-rails": "^0.4.0",
22
22
  "sass-loader": "^3.0.0",
23
23
  "style-loader": "^0.13.1",
24
24
  "webpack": "^1.12.1"
@@ -1,3 +1,8 @@
1
+ const Webpack = require('webpack');
1
2
  const config = require('./../webpack.config');
2
3
 
4
+ config.plugins.push(
5
+ new Webpack.DefinePlugin({'process.env': {'NODE_ENV': '"production"'}})
6
+ );
7
+
3
8
  module.exports = config;
@@ -1,3 +1,3 @@
1
1
  module ReactWebpackRails
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-webpack-rails",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Js part of react_webpack_rails - webpack based React & Rails integration.",
5
5
  "main": "js/lib/index.js",
6
6
  "files": [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: react_webpack_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafał Gawlik
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-04-17 00:00:00.000000000 Z
12
+ date: 2016-04-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler