Update dependencies; disable some babel-minify transforms to work around https://github.com/babel/minify/issues/893 (#5095)
This commit is contained in:
parent
7f8b36a8bd
commit
98b2a69416
2
Cakefile
2
Cakefile
|
@ -72,7 +72,7 @@ transpile = (code) ->
|
|||
# Exclude the `modules` plugin in order to not break the `}(this));`
|
||||
# at the end of the `build:browser` code block.
|
||||
presets.push ['env', {modules: no}] unless process.env.TRANSFORM is 'false'
|
||||
presets.push ['minify', {mangle: no}] unless process.env.MINIFY is 'false'
|
||||
presets.push ['minify', {mangle: no, evaluate: no, removeUndefined: no}] unless process.env.MINIFY is 'false'
|
||||
babelOptions =
|
||||
compact: process.env.MINIFY isnt 'false'
|
||||
presets: presets
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1540,7 +1540,7 @@ inner = changeNumbers();
|
|||
<span class="cm-keyword">return</span> <span class="cm-variable">outer</span> <span class="cm-operator">=</span> <span class="cm-number">10</span>;
|
||||
};
|
||||
|
||||
<span class="cm-variable">inner</span> <span class="cm-operator">=</span> <span class="cm-variable">changeNumbers</span>();
|
||||
<span class="cm-variable-2">inner</span> <span class="cm-operator">=</span> <span class="cm-variable">changeNumbers</span>();
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
|
File diff suppressed because it is too large
Load Diff
14
package.json
14
package.json
|
@ -39,16 +39,16 @@
|
|||
"url": "git://github.com/jashkenas/coffeescript.git"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-core": "6.26.3",
|
||||
"babel-preset-env": "1.6.1",
|
||||
"babel-preset-minify": "0.4.0",
|
||||
"codemirror": "^5.37.0",
|
||||
"babel-core": "^6.26.3",
|
||||
"babel-preset-env": "1.7.0",
|
||||
"babel-preset-minify": "^0.4.3",
|
||||
"codemirror": "^5.39.2",
|
||||
"docco": "~0.8.0",
|
||||
"highlight.js": "~9.12.0",
|
||||
"jison": ">=0.4.18",
|
||||
"markdown-it": "~8.4.1",
|
||||
"underscore": "~1.9.0",
|
||||
"webpack": "~4.6.0"
|
||||
"markdown-it": "~8.4.2",
|
||||
"underscore": "~1.9.1",
|
||||
"webpack": "~4.16.5"
|
||||
},
|
||||
"dependencies": {}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue