Skip to content

Commit

Permalink
Use babili instead of uglify
Browse files Browse the repository at this point in the history
  • Loading branch information
t-sauer committed Jul 8, 2017
1 parent 57ac736 commit c0fb030
Show file tree
Hide file tree
Showing 3 changed files with 197 additions and 15 deletions.
3 changes: 1 addition & 2 deletions config/targets.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ let browsers = [
'last 2 Edge versions',
'last 2 Chrome versions',
'last 2 Firefox versions',
'last 2 Safari versions',
'IE 11'
'last 2 Safari versions'
];

if (process.env.EMBER_ENV === 'test') {
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,18 @@
"@types/qunit": "^2.0.31",
"broccoli-asset-rev": "^2.5.0",
"ember-cli": "2.14.0",
"ember-cli-babili": "^0.2.0",
"ember-cli-dependency-checker": "^2.0.1",
"ember-cli-deploy": "^1.0.0",
"ember-cli-deploy-build": "^1.0.0",
"ember-cli-deploy-git": "^1.1.1",
"ember-cli-inject-live-reload": "^1.6.1",
"ember-cli-sass": "^6.2.0",
"ember-cli-uglify": "^1.2.0",
"tslint": "^5.2.0",
"qunitjs": "^2.3.3",
"tslint": "^5.2.0",
"typescript": "^2.2.2"
},
"engines": {
"node": ">= 4.0"
},
"private": true
}
}
202 changes: 193 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ babel-code-frame@^6.22.0:
esutils "^2.0.2"
js-tokens "^3.0.0"

babel-core@6, babel-core@^6.14.0, babel-core@^6.24.1:
babel-core@6, babel-core@^6.14.0, babel-core@^6.24.1, babel-core@^6.25.0:
version "6.25.0"
resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.25.0.tgz#7dd42b0463c742e9d5296deb3ec67a9322dad729"
dependencies:
Expand Down Expand Up @@ -540,6 +540,10 @@ babel-helper-define-map@^6.24.1:
babel-types "^6.24.1"
lodash "^4.2.0"

babel-helper-evaluate-path@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/babel-helper-evaluate-path/-/babel-helper-evaluate-path-0.1.0.tgz#95d98c4ea36150483db2e7d3ec9e1954a72629cb"

babel-helper-explode-assignable-expression@^6.24.1:
version "6.24.1"
resolved "https://registry.yarnpkg.com/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz#f25b82cf7dc10433c55f70592d5746400ac22caa"
Expand All @@ -548,6 +552,10 @@ babel-helper-explode-assignable-expression@^6.24.1:
babel-traverse "^6.24.1"
babel-types "^6.24.1"

babel-helper-flip-expressions@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/babel-helper-flip-expressions/-/babel-helper-flip-expressions-0.1.2.tgz#77f6652f9de9c42401d827bd46ebd2109e3ef18a"

babel-helper-function-name@^6.24.1:
version "6.24.1"
resolved "https://registry.yarnpkg.com/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz#d3475b8c03ed98242a25b48351ab18399d3580a9"
Expand All @@ -572,6 +580,18 @@ babel-helper-hoist-variables@^6.24.1:
babel-runtime "^6.22.0"
babel-types "^6.24.1"

babel-helper-is-nodes-equiv@^0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/babel-helper-is-nodes-equiv/-/babel-helper-is-nodes-equiv-0.0.1.tgz#34e9b300b1479ddd98ec77ea0bbe9342dfe39684"

babel-helper-is-void-0@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/babel-helper-is-void-0/-/babel-helper-is-void-0-0.1.1.tgz#72f21a3abba0bef3837f9174fca731aed9a02888"

babel-helper-mark-eval-scopes@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/babel-helper-mark-eval-scopes/-/babel-helper-mark-eval-scopes-0.1.1.tgz#4554345edf9f2549427bd2098e530253f8af2992"

babel-helper-optimise-call-expression@^6.24.1:
version "6.24.1"
resolved "https://registry.yarnpkg.com/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz#f7a13427ba9f73f8f4fa993c54a97882d1244257"
Expand All @@ -597,6 +617,10 @@ babel-helper-remap-async-to-generator@^6.24.1:
babel-traverse "^6.24.1"
babel-types "^6.24.1"

babel-helper-remove-or-void@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/babel-helper-remove-or-void/-/babel-helper-remove-or-void-0.1.1.tgz#9d7e1856dc6fafcb41b283a416730dc1844f66d7"

babel-helper-replace-supers@^6.24.1:
version "6.24.1"
resolved "https://registry.yarnpkg.com/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz#bf6dbfe43938d17369a213ca8a8bf74b6a90ab1a"
Expand All @@ -608,6 +632,10 @@ babel-helper-replace-supers@^6.24.1:
babel-traverse "^6.24.1"
babel-types "^6.24.1"

babel-helper-to-multiple-sequence-expressions@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/babel-helper-to-multiple-sequence-expressions/-/babel-helper-to-multiple-sequence-expressions-0.1.1.tgz#5f1b832b39e4acf954e9137f0251395c71196b35"

babel-helpers@^6.24.1:
version "6.24.1"
resolved "https://registry.yarnpkg.com/babel-helpers/-/babel-helpers-6.24.1.tgz#3471de9caec388e5c850e597e58a26ddf37602b2"
Expand Down Expand Up @@ -667,6 +695,70 @@ babel-plugin-member-expression-literals@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/babel-plugin-member-expression-literals/-/babel-plugin-member-expression-literals-1.0.1.tgz#cc5edb0faa8dc927170e74d6d1c02440021624d3"

babel-plugin-minify-builtins@^0.1.3:
version "0.1.3"
resolved "https://registry.yarnpkg.com/babel-plugin-minify-builtins/-/babel-plugin-minify-builtins-0.1.3.tgz#4f21a7dcb51f91a04ea71d47ff0e8e3b05fec021"
dependencies:
babel-helper-evaluate-path "^0.1.0"

babel-plugin-minify-constant-folding@^0.1.3:
version "0.1.3"
resolved "https://registry.yarnpkg.com/babel-plugin-minify-constant-folding/-/babel-plugin-minify-constant-folding-0.1.3.tgz#57bd172adf8b8d74ad7c99612eb950414ebea3ca"
dependencies:
babel-helper-evaluate-path "^0.1.0"

babel-plugin-minify-dead-code-elimination@^0.1.7:
version "0.1.7"
resolved "https://registry.yarnpkg.com/babel-plugin-minify-dead-code-elimination/-/babel-plugin-minify-dead-code-elimination-0.1.7.tgz#774f536f347b98393a27baa717872968813c342c"
dependencies:
babel-helper-mark-eval-scopes "^0.1.1"
babel-helper-remove-or-void "^0.1.1"
lodash.some "^4.6.0"

babel-plugin-minify-flip-comparisons@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/babel-plugin-minify-flip-comparisons/-/babel-plugin-minify-flip-comparisons-0.1.2.tgz#e286b40b7599b18dfea195071e4279465cfc1884"
dependencies:
babel-helper-is-void-0 "^0.1.1"

babel-plugin-minify-guarded-expressions@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/babel-plugin-minify-guarded-expressions/-/babel-plugin-minify-guarded-expressions-0.1.2.tgz#dfc3d473b0362d9605d3ce0ac1e22328c60d1007"
dependencies:
babel-helper-flip-expressions "^0.1.2"

babel-plugin-minify-infinity@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/babel-plugin-minify-infinity/-/babel-plugin-minify-infinity-0.1.2.tgz#5f1cf67ddedcba13c8a00da832542df0091a1cd4"

babel-plugin-minify-mangle-names@^0.1.3:
version "0.1.3"
resolved "https://registry.yarnpkg.com/babel-plugin-minify-mangle-names/-/babel-plugin-minify-mangle-names-0.1.3.tgz#bfa24661a6794fb03833587e55828b65449e06fe"
dependencies:
babel-helper-mark-eval-scopes "^0.1.1"

babel-plugin-minify-numeric-literals@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/babel-plugin-minify-numeric-literals/-/babel-plugin-minify-numeric-literals-0.1.1.tgz#d4b8b0c925f874714ee33ee4b26678583d7ce7fb"

babel-plugin-minify-replace@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/babel-plugin-minify-replace/-/babel-plugin-minify-replace-0.1.2.tgz#b90b9e71ab4d3b36325629a91beabe13b0b16ac1"

babel-plugin-minify-simplify@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/babel-plugin-minify-simplify/-/babel-plugin-minify-simplify-0.1.2.tgz#a968f1658fdeb2fc759e81fe331d89829df0f6b9"
dependencies:
babel-helper-flip-expressions "^0.1.2"
babel-helper-is-nodes-equiv "^0.0.1"
babel-helper-to-multiple-sequence-expressions "^0.1.1"

babel-plugin-minify-type-constructors@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.1.2.tgz#db53c5b76cb8e2fcd45d862f17104c78761337ee"
dependencies:
babel-helper-is-void-0 "^0.1.1"

babel-plugin-property-literals@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/babel-plugin-property-literals/-/babel-plugin-property-literals-1.0.1.tgz#0252301900192980b1c118efea48ce93aab83336"
Expand Down Expand Up @@ -893,19 +985,65 @@ babel-plugin-transform-exponentiation-operator@^6.22.0:
babel-plugin-syntax-exponentiation-operator "^6.8.0"
babel-runtime "^6.22.0"

babel-plugin-transform-inline-consecutive-adds@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-inline-consecutive-adds/-/babel-plugin-transform-inline-consecutive-adds-0.1.2.tgz#5442e9f1c19c78a7899f8a4dee6fd481f61001f5"

babel-plugin-transform-member-expression-literals@^6.8.4:
version "6.8.4"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-member-expression-literals/-/babel-plugin-transform-member-expression-literals-6.8.4.tgz#05679bc40596b91293401959aa1620ab1b2be437"

babel-plugin-transform-merge-sibling-variables@^6.8.5:
version "6.8.5"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-merge-sibling-variables/-/babel-plugin-transform-merge-sibling-variables-6.8.5.tgz#03abdf107c61241913eb268ddede6d5bc541862c"

babel-plugin-transform-minify-booleans@^6.8.2:
version "6.8.2"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-minify-booleans/-/babel-plugin-transform-minify-booleans-6.8.2.tgz#8451579f706e702c1e1ab2756de5c8ea369cf07c"

babel-plugin-transform-property-literals@^6.8.4:
version "6.8.4"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-property-literals/-/babel-plugin-transform-property-literals-6.8.4.tgz#6ad311110b80a192a56efb5ddf4fe3ca6f7a61da"
dependencies:
esutils "^2.0.2"

babel-plugin-transform-regenerator@^6.22.0:
version "6.24.1"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.24.1.tgz#b8da305ad43c3c99b4848e4fe4037b770d23c418"
dependencies:
regenerator-transform "0.9.11"

babel-plugin-transform-regexp-constructors@^0.1.1:
version "0.1.1"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-regexp-constructors/-/babel-plugin-transform-regexp-constructors-0.1.1.tgz#312ab7487cc88a1c62ee25ea1b6087e89b87799c"

babel-plugin-transform-remove-console@^6.8.4:
version "6.8.4"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-console/-/babel-plugin-transform-remove-console-6.8.4.tgz#41fddac19a729a4c3dd7ef2964eac07b096f9a8f"

babel-plugin-transform-remove-debugger@^6.8.4:
version "6.8.4"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-debugger/-/babel-plugin-transform-remove-debugger-6.8.4.tgz#f85704a08adaa71b55d77005b5b94e9b9df21f6e"

babel-plugin-transform-remove-undefined@^0.1.2:
version "0.1.2"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-remove-undefined/-/babel-plugin-transform-remove-undefined-0.1.2.tgz#e1ebf51110f6b1e0665f28382ef73f95e5023652"

babel-plugin-transform-simplify-comparison-operators@^6.8.4:
version "6.8.4"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-simplify-comparison-operators/-/babel-plugin-transform-simplify-comparison-operators-6.8.4.tgz#2aa24a262d664c8cb3e125a306c798d7a2de08d5"

babel-plugin-transform-strict-mode@^6.24.1:
version "6.24.1"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz#d5faf7aa578a65bbe591cf5edae04a0c67020758"
dependencies:
babel-runtime "^6.22.0"
babel-types "^6.24.1"

babel-plugin-transform-undefined-to-void@^6.8.2:
version "6.8.2"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-undefined-to-void/-/babel-plugin-transform-undefined-to-void-6.8.2.tgz#fe2b1d294eb05e87524eb93724dea6e2c3d66fa1"

babel-plugin-undeclared-variables-check@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/babel-plugin-undeclared-variables-check/-/babel-plugin-undeclared-variables-check-1.0.2.tgz#5cf1aa539d813ff64e99641290af620965f65dee"
Expand All @@ -916,6 +1054,34 @@ babel-plugin-undefined-to-void@^1.1.6:
version "1.1.6"
resolved "https://registry.yarnpkg.com/babel-plugin-undefined-to-void/-/babel-plugin-undefined-to-void-1.1.6.tgz#7f578ef8b78dfae6003385d8417a61eda06e2f81"

babel-preset-babili@^0.1.3:
version "0.1.4"
resolved "https://registry.yarnpkg.com/babel-preset-babili/-/babel-preset-babili-0.1.4.tgz#ad9d6651002f5bc3f07cab300781167f54724bf2"
dependencies:
babel-plugin-minify-builtins "^0.1.3"
babel-plugin-minify-constant-folding "^0.1.3"
babel-plugin-minify-dead-code-elimination "^0.1.7"
babel-plugin-minify-flip-comparisons "^0.1.2"
babel-plugin-minify-guarded-expressions "^0.1.2"
babel-plugin-minify-infinity "^0.1.2"
babel-plugin-minify-mangle-names "^0.1.3"
babel-plugin-minify-numeric-literals "^0.1.1"
babel-plugin-minify-replace "^0.1.2"
babel-plugin-minify-simplify "^0.1.2"
babel-plugin-minify-type-constructors "^0.1.2"
babel-plugin-transform-inline-consecutive-adds "^0.1.2"
babel-plugin-transform-member-expression-literals "^6.8.4"
babel-plugin-transform-merge-sibling-variables "^6.8.5"
babel-plugin-transform-minify-booleans "^6.8.2"
babel-plugin-transform-property-literals "^6.8.4"
babel-plugin-transform-regexp-constructors "^0.1.1"
babel-plugin-transform-remove-console "^6.8.4"
babel-plugin-transform-remove-debugger "^6.8.4"
babel-plugin-transform-remove-undefined "^0.1.2"
babel-plugin-transform-simplify-comparison-operators "^6.8.4"
babel-plugin-transform-undefined-to-void "^6.8.2"
lodash.isplainobject "^4.0.6"

babel-preset-env@^1.5.1:
version "1.6.0"
resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-1.6.0.tgz#2de1c782a780a0a5d605d199c957596da43c44e4"
Expand Down Expand Up @@ -1173,6 +1339,16 @@ broccoli-babel-transpiler@^6.0.0:
rsvp "^3.5.0"
workerpool "^2.2.1"

broccoli-babili@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/broccoli-babili/-/broccoli-babili-0.2.0.tgz#0acdd582472ec184499af394fb83d5623588cba8"
dependencies:
babel-core "^6.25.0"
babel-preset-babili "^0.1.3"
broccoli-plugin "^1.3.0"
symlink-or-copy "^1.1.8"
walk-sync "^0.3.2"

broccoli-brocfile-loader@^0.18.0:
version "0.18.0"
resolved "https://registry.yarnpkg.com/broccoli-brocfile-loader/-/broccoli-brocfile-loader-0.18.0.tgz#2e86021c805c34ffc8d29a2fb721cf273e819e4b"
Expand Down Expand Up @@ -1498,7 +1674,7 @@ broccoli-typescript-compiler@^1.0.1:
md5-hex "^1.3.0"
walk-sync "^0.3.1"

broccoli-uglify-sourcemap@^1.0.0, broccoli-uglify-sourcemap@^1.4.0:
broccoli-uglify-sourcemap@^1.4.0:
version "1.5.2"
resolved "https://registry.yarnpkg.com/broccoli-uglify-sourcemap/-/broccoli-uglify-sourcemap-1.5.2.tgz#04f84ab0db539031fa868ccfa563c9932d50cedb"
dependencies:
Expand Down Expand Up @@ -2173,6 +2349,12 @@ ember-cli-babel@^5.1.5:
ember-cli-version-checker "^1.0.2"
resolve "^1.1.2"

ember-cli-babili@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/ember-cli-babili/-/ember-cli-babili-0.2.0.tgz#5b1721f37973f60b3b74d357a90e41d994c4ff6f"
dependencies:
broccoli-babili "^0.2.0"

ember-cli-broccoli-sane-watcher@^2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/ember-cli-broccoli-sane-watcher/-/ember-cli-broccoli-sane-watcher-2.0.4.tgz#f43f42f75b7509c212fb926cd9aea86ae19264c6"
Expand Down Expand Up @@ -2319,12 +2501,6 @@ ember-cli-test-info@^1.0.0:
dependencies:
ember-cli-string-utils "^1.0.0"

ember-cli-uglify@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/ember-cli-uglify/-/ember-cli-uglify-1.2.0.tgz#3208c32b54bc2783056e8bb0d5cfe9bbaf17ffb2"
dependencies:
broccoli-uglify-sourcemap "^1.0.0"

ember-cli-valid-component-name@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/ember-cli-valid-component-name/-/ember-cli-valid-component-name-1.0.0.tgz#71550ce387e0233065f30b30b1510aa2dfbe87ef"
Expand Down Expand Up @@ -3761,6 +3937,10 @@ lodash.isarray@^3.0.0:
version "3.0.4"
resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55"

lodash.isplainobject@^4.0.6:
version "4.0.6"
resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb"

lodash.keys@^3.0.0:
version "3.1.2"
resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a"
Expand All @@ -3785,6 +3965,10 @@ lodash.restparam@^3.0.0:
version "3.6.1"
resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805"

lodash.some@^4.6.0:
version "4.6.0"
resolved "https://registry.yarnpkg.com/lodash.some/-/lodash.some-4.6.0.tgz#1bb9f314ef6b8baded13b549169b2a945eb68e4d"

lodash.template@^4.2.5:
version "4.4.0"
resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-4.4.0.tgz#e73a0385c8355591746e020b99679c690e68fba0"
Expand Down Expand Up @@ -5527,7 +5711,7 @@ walk-sync@^0.2.5, walk-sync@^0.2.7:
ensure-posix-path "^1.0.0"
matcher-collection "^1.0.0"

walk-sync@^0.3.0, walk-sync@^0.3.1:
walk-sync@^0.3.0, walk-sync@^0.3.1, walk-sync@^0.3.2:
version "0.3.2"
resolved "https://registry.yarnpkg.com/walk-sync/-/walk-sync-0.3.2.tgz#4827280afc42d0e035367c4a4e31eeac0d136f75"
dependencies:
Expand Down

0 comments on commit c0fb030

Please sign in to comment.