autofront 1.4.2 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.js +1 -1
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -8,7 +8,7 @@ Gulp settings for projects.
8
8
  - With `gulp serve:dist`, the server is production, but without the reload.
9
9
  - `gulp build` builds the distributable version.
10
10
 
11
- Additionally, a parameter can be included (e.g.: `gulp serve --dev` o `gulp build --pro`) to indicate the connection server. Defaults to local. And these domain URLs must to appear listed in `package.json` with the property `domains` (optionally also `domainsAliases`).
11
+ Additionally, a parameter can be included (e.g.: `gulp --dev` o `gulp build --pro`) to indicate the connection server. Defaults to local. And these domain URLs must to appear listed in `package.json` with the property `domains` (optionally also `domainsAliases`).
12
12
 
13
13
  ## Folder structure
14
14
 
package/index.js CHANGED
@@ -95,7 +95,7 @@ gulp.task('build', gulpSync.sync([
95
95
  return gulp.src(paths.dist+allFiles)
96
96
  .pipe(indexHtmlFilter).pipe(injStr.before('</body>', '<script src="'+jsTemplatesFile+'"></script>'+nl)).pipe(minifyHtml()).pipe(indexHtmlFilter.restore)
97
97
  .pipe(cssFilter).pipe($.cssnano({zindex: false})).pipe(cssFilter.restore)
98
- .pipe(jsFilter).pipe($.ngAnnotate()).pipe($.uglify()).pipe(jsFilter.restore)
98
+ .pipe(jsFilter).pipe($.ngAnnotate()).pipe($.terser()).pipe(jsFilter.restore)
99
99
  .pipe(cssAndJsFilter).pipe($.rev()).pipe($.revDeleteOriginal()).pipe(cssAndJsFilter.restore)
100
100
  .pipe($.revReplace())
101
101
  .pipe(imgFilter).pipe($.imagemin()).pipe(imgFilter.restore)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autofront",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "Gulp settings for projects.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -46,7 +46,7 @@
46
46
  "gulp-rev-replace": "^0.4.4",
47
47
  "gulp-size": "^3.0.0",
48
48
  "gulp-sync": "^0.1.4",
49
- "gulp-uglify": "^3.0.1",
49
+ "gulp-terser": "^1.1.7",
50
50
  "gulp-useref": "^3.1.6",
51
51
  "gulp-wiredep": "^1.2.0",
52
52
  "main-bower-files": "^2.13.1"