Skip to content

Commit 3a718cf

Browse files
authored
Update uglify-overview.md
Remove upgrade instructions that never applied since v3.x is a version from the future.
1 parent a34af0d commit 3a718cf

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

docs/uglify-overview.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1 @@
11
Task targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide.
2-
3-
# Migrating from 2.x to 3.x
4-
5-
Version `3.x` introduced changes to configuring source maps. Accordingly, if you don't use the source map options you should be able to upgrade seamlessly. If you do use source maps, see below.
6-
7-
## Removed options
8-
9-
* `sourceMappingURL` - This is calculated automatically now
10-
* `sourceMapPrefix` - No longer necessary for the above reason
11-
12-
## Changed options
13-
14-
* `sourceMap` - Only accepts a `Boolean` value. Generates a map with a default name for you
15-
* `sourceMapRoot` - The location of your sources is now calculated for you when `sourceMap` is set to `true` but you can set manual source root if needed
16-
17-
## New options
18-
19-
* `sourceMapName` - Accepts a string or function to change the location or name of your map
20-
* `sourceMapIncludeSources` - Embed the content of your source files directly into the map
21-
* `expression` - Accepts a `Boolean` value. Parse a single expression (JSON or single functions)
22-
* `quoteStyle` - Accepts integers `0` (default), `1`, `2`, `3`. Enforce or preserve quotation mark style.

0 commit comments

Comments
 (0)