npm-pipeline-rails 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +7 -0
- data/lib/generators/npm_pipeline/webpack/webpack.config.js +4 -4
- data/lib/npm-pipeline-rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bd50b1b20f261a0b7cd44ab81b6adba9b1a54fb
|
4
|
+
data.tar.gz: 2beb4f4d62754c03a7a9a31b0ffdde9610857ce2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b914013d9722b4ab943bf7f770b85942b504c68c5cf7cc63faa091afe433b34c8d46e748d80ab547faadf9e8a87a809c60c176f4620b5c85affdb51dc36945e8
|
7
|
+
data.tar.gz: 6c1c3681d9f150de4cececa7a9656de0688dd3a8fa8b8430fce470913e5f047f5c0f364e8a6a953d76f54ab626b93426fef7655f57c0209bb7bfbaa92f75a8d6
|
data/HISTORY.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## [v1.8.1]
|
2
|
+
> Aug 1, 2017
|
3
|
+
|
4
|
+
- Webpack generator: prevent loading `webpack-livereload-plugin` in the default Webpack config to prevent deployment errors.
|
5
|
+
|
6
|
+
[v1.8.1]: https://github.com/rstacruz/npm-pipeline-rails/compare/v1.8.0...v1.8.1
|
7
|
+
|
1
8
|
## [v1.8.0]
|
2
9
|
> May 24, 2017
|
3
10
|
|
@@ -2,13 +2,13 @@
|
|
2
2
|
* Webpack config with Babel, Sass and PostCSS support.
|
3
3
|
*/
|
4
4
|
|
5
|
+
var PROD = process.env.NODE_ENV === 'production'
|
6
|
+
var DEBUG = !PROD
|
7
|
+
|
5
8
|
var webpack = require('webpack')
|
6
9
|
var join = require('path').join
|
7
10
|
var ExtractTextPlugin = require('extract-text-webpack-plugin')
|
8
|
-
var LiveReloadPlugin = require('webpack-livereload-plugin')
|
9
|
-
|
10
|
-
var PROD = process.env.NODE_ENV === 'production'
|
11
|
-
var DEBUG = !PROD
|
11
|
+
var LiveReloadPlugin = DEBUG ? require('webpack-livereload-plugin') : null
|
12
12
|
|
13
13
|
module.exports = {
|
14
14
|
cache: true,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: npm-pipeline-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rico Sta. Cruz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|