Skip to content

Commit

Permalink
Removed Google Closure compiler because it's failing
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoelw committed May 19, 2017
1 parent 4543cec commit 4594e0e
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,24 +65,6 @@ const prepare_lang = async function(filename) {
// Tell webpack that fs will be external so it doesn't complain.
'externals': ['fs'],

'plugins': [
// Run the Google Closure Compiler if env.optimize is set
optimize ? new ClosureCompilerPlugin({
'compiler': {
'language_in': 'ECMASCRIPT6',
'language_out': 'ECMASCRIPT5',
'compilation_level': 'SIMPLE_OPTIMIZATIONS',
/*
There is a higher compilation level, ADVANCED_OPTIMIZATIONS.
Unfortunately, it requires property access by string or key to be consistent.
For example, obj.abc = 123; alert(obj['abc']); doesn't work.
Antlr does not follow this principle, so as far as I can see, we won't be able to use this level.
*/
},
'concurrency': 10,
}) : undefined,
].filter(Boolean),

'output': {
// The output filename
'filename': lang_name + (optimize ? '.min.js' : '.js'),
Expand Down

0 comments on commit 4594e0e

Please sign in to comment.