Skip to content

Commit

Permalink
Update dependencies; disable some babel-minify transforms to work aro…
Browse files Browse the repository at this point in the history
GeoffreyBooth authored Aug 14, 2018
1 parent 7f8b36a commit 98b2a69
Showing 5 changed files with 1,554 additions and 1,274 deletions.
2 changes: 1 addition & 1 deletion Cakefile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion docs/v2/browser-compiler/coffeescript.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/v2/index.html
Original file line number Diff line number Diff line change
@@ -1540,7 +1540,7 @@ <h2>Lexical Scoping and Variable Safety</h2>
<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>
Loading
Oops, something went wrong.

0 comments on commit 98b2a69

Please sign in to comment.