diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-04-20 03:09:25 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-04-24 16:14:29 +0200 |
commit | 82f2b76e25a4a67e01ec67e5ebe39d14ad771ea8 (patch) | |
tree | 965f6eb89b84d65a62b49008fd972c004832ccd1 /node_modules/core-js/fn/math | |
parent | e6e0cbc387c2a77b48e4065c229daa65bf1aa0fa (diff) |
Reorganize module loading.
We now use webpack instead of SystemJS, effectively bundling modules
into one file (plus commons chunks) for every entry point. This results
in a much smaller extension size (almost half). Furthermore we use
yarn/npm even for extension run-time dependencies. This relieves us
from manually vendoring and building dependencies. It's also easier to
understand for new developers familiar with node.
Diffstat (limited to 'node_modules/core-js/fn/math')
22 files changed, 18 insertions, 30 deletions
diff --git a/node_modules/core-js/fn/math/acosh.js b/node_modules/core-js/fn/math/acosh.js index 9c904c2d6..d29a88cca 100644 --- a/node_modules/core-js/fn/math/acosh.js +++ b/node_modules/core-js/fn/math/acosh.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.acosh'); -module.exports = require('../../modules/_core').Math.acosh;
\ No newline at end of file +module.exports = require('../../modules/$.core').Math.acosh;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/asinh.js b/node_modules/core-js/fn/math/asinh.js index 9e209c9d1..7eac2e83e 100644 --- a/node_modules/core-js/fn/math/asinh.js +++ b/node_modules/core-js/fn/math/asinh.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.asinh'); -module.exports = require('../../modules/_core').Math.asinh;
\ No newline at end of file +module.exports = require('../../modules/$.core').Math.asinh;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/atanh.js b/node_modules/core-js/fn/math/atanh.js index b116296d8..a66a47d88 100644 --- a/node_modules/core-js/fn/math/atanh.js +++ b/node_modules/core-js/fn/math/atanh.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.atanh'); -module.exports = require('../../modules/_core').Math.atanh;
\ No newline at end of file +module.exports = require('../../modules/$.core').Math.atanh;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/cbrt.js b/node_modules/core-js/fn/math/cbrt.js index 6ffec33a2..199f5cd86 100644 --- a/node_modules/core-js/fn/math/cbrt.js +++ b/node_modules/core-js/fn/math/cbrt.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.cbrt'); -module.exports = require('../../modules/_core').Math.cbrt;
\ No newline at end of file +module.exports = require('../../modules/$.core').Math.cbrt;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/clz32.js b/node_modules/core-js/fn/math/clz32.js index beeaae165..2025c6e44 100644 --- a/node_modules/core-js/fn/math/clz32.js +++ b/node_modules/core-js/fn/math/clz32.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.clz32'); -module.exports = require('../../modules/_core').Math.clz32;
\ No newline at end of file +module.exports = require('../../modules/$.core').Math.clz32;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/cosh.js b/node_modules/core-js/fn/math/cosh.js index bf92dc13d..17a7ddc0f 100644 --- a/node_modules/core-js/fn/math/cosh.js +++ b/node_modules/core-js/fn/math/cosh.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.cosh'); -module.exports = require('../../modules/_core').Math.cosh;
\ No newline at end of file +module.exports = require('../../modules/$.core').Math.cosh;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/expm1.js b/node_modules/core-js/fn/math/expm1.js index 0b30ebb1b..732facb32 100644 --- a/node_modules/core-js/fn/math/expm1.js +++ b/node_modules/core-js/fn/math/expm1.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.expm1'); -module.exports = require('../../modules/_core').Math.expm1;
\ No newline at end of file +module.exports = require('../../modules/$.core').Math.expm1;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/fround.js b/node_modules/core-js/fn/math/fround.js index c75a22937..37f87069c 100644 --- a/node_modules/core-js/fn/math/fround.js +++ b/node_modules/core-js/fn/math/fround.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.fround'); -module.exports = require('../../modules/_core').Math.fround;
\ No newline at end of file +module.exports = require('../../modules/$.core').Math.fround;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/hypot.js b/node_modules/core-js/fn/math/hypot.js index 2126285c2..9676c0730 100644 --- a/node_modules/core-js/fn/math/hypot.js +++ b/node_modules/core-js/fn/math/hypot.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.hypot'); -module.exports = require('../../modules/_core').Math.hypot;
\ No newline at end of file +module.exports = require('../../modules/$.core').Math.hypot;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/iaddh.js b/node_modules/core-js/fn/math/iaddh.js deleted file mode 100644 index cae754ee1..000000000 --- a/node_modules/core-js/fn/math/iaddh.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es7.math.iaddh'); -module.exports = require('../../modules/_core').Math.iaddh;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/imul.js b/node_modules/core-js/fn/math/imul.js index 1f5ce1610..2ea2913e9 100644 --- a/node_modules/core-js/fn/math/imul.js +++ b/node_modules/core-js/fn/math/imul.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.imul'); -module.exports = require('../../modules/_core').Math.imul;
\ No newline at end of file +module.exports = require('../../modules/$.core').Math.imul;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/imulh.js b/node_modules/core-js/fn/math/imulh.js deleted file mode 100644 index 3b47bf8c2..000000000 --- a/node_modules/core-js/fn/math/imulh.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es7.math.imulh'); -module.exports = require('../../modules/_core').Math.imulh;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/index.js b/node_modules/core-js/fn/math/index.js index 8a2664b18..14628ae59 100644 --- a/node_modules/core-js/fn/math/index.js +++ b/node_modules/core-js/fn/math/index.js @@ -15,8 +15,4 @@ require('../../modules/es6.math.sign'); require('../../modules/es6.math.sinh'); require('../../modules/es6.math.tanh'); require('../../modules/es6.math.trunc'); -require('../../modules/es7.math.iaddh'); -require('../../modules/es7.math.isubh'); -require('../../modules/es7.math.imulh'); -require('../../modules/es7.math.umulh'); -module.exports = require('../../modules/_core').Math;
\ No newline at end of file +module.exports = require('../../modules/$.core').Math;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/isubh.js b/node_modules/core-js/fn/math/isubh.js deleted file mode 100644 index e120e423f..000000000 --- a/node_modules/core-js/fn/math/isubh.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es7.math.isubh'); -module.exports = require('../../modules/_core').Math.isubh;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/log10.js b/node_modules/core-js/fn/math/log10.js index 1246e0ae0..ecf7b9b2b 100644 --- a/node_modules/core-js/fn/math/log10.js +++ b/node_modules/core-js/fn/math/log10.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.log10'); -module.exports = require('../../modules/_core').Math.log10;
\ No newline at end of file +module.exports = require('../../modules/$.core').Math.log10;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/log1p.js b/node_modules/core-js/fn/math/log1p.js index 047b84c05..6db73292e 100644 --- a/node_modules/core-js/fn/math/log1p.js +++ b/node_modules/core-js/fn/math/log1p.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.log1p'); -module.exports = require('../../modules/_core').Math.log1p;
\ No newline at end of file +module.exports = require('../../modules/$.core').Math.log1p;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/log2.js b/node_modules/core-js/fn/math/log2.js index ce3e99c1e..63c74d7b8 100644 --- a/node_modules/core-js/fn/math/log2.js +++ b/node_modules/core-js/fn/math/log2.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.log2'); -module.exports = require('../../modules/_core').Math.log2;
\ No newline at end of file +module.exports = require('../../modules/$.core').Math.log2;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/sign.js b/node_modules/core-js/fn/math/sign.js index 0963ecaf9..47ab74f20 100644 --- a/node_modules/core-js/fn/math/sign.js +++ b/node_modules/core-js/fn/math/sign.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.sign'); -module.exports = require('../../modules/_core').Math.sign;
\ No newline at end of file +module.exports = require('../../modules/$.core').Math.sign;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/sinh.js b/node_modules/core-js/fn/math/sinh.js index c35cb7394..72c6e857a 100644 --- a/node_modules/core-js/fn/math/sinh.js +++ b/node_modules/core-js/fn/math/sinh.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.sinh'); -module.exports = require('../../modules/_core').Math.sinh;
\ No newline at end of file +module.exports = require('../../modules/$.core').Math.sinh;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/tanh.js b/node_modules/core-js/fn/math/tanh.js index 3d1966db3..30ddbcc83 100644 --- a/node_modules/core-js/fn/math/tanh.js +++ b/node_modules/core-js/fn/math/tanh.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.tanh'); -module.exports = require('../../modules/_core').Math.tanh;
\ No newline at end of file +module.exports = require('../../modules/$.core').Math.tanh;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/trunc.js b/node_modules/core-js/fn/math/trunc.js index 135b7dcb8..b084efa7e 100644 --- a/node_modules/core-js/fn/math/trunc.js +++ b/node_modules/core-js/fn/math/trunc.js @@ -1,2 +1,2 @@ require('../../modules/es6.math.trunc'); -module.exports = require('../../modules/_core').Math.trunc;
\ No newline at end of file +module.exports = require('../../modules/$.core').Math.trunc;
\ No newline at end of file diff --git a/node_modules/core-js/fn/math/umulh.js b/node_modules/core-js/fn/math/umulh.js deleted file mode 100644 index d93b9ae05..000000000 --- a/node_modules/core-js/fn/math/umulh.js +++ /dev/null @@ -1,2 +0,0 @@ -require('../../modules/es7.math.umulh'); -module.exports = require('../../modules/_core').Math.umulh;
\ No newline at end of file |