Skip to content

Commit a49644b

Browse files
authored
Fixes the bundle build (#6274)
1 parent 9a62ef5 commit a49644b

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"glob": "^7.1.1",
2121
"gunzip-maybe": "^1.4.0",
2222
"hash-for-dep": "^1.2.3",
23+
"imports-loader": "^0.8.0",
2324
"ini": "^1.3.4",
2425
"inquirer": "^3.0.1",
2526
"invariant": "^2.2.0",

scripts/build-webpack.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ const compiler = webpack({
3434
exclude: /node_modules/,
3535
loader: 'babel-loader',
3636
},
37+
{
38+
test: /rx\.lite\.aggregates\.js/,
39+
use: 'imports-loader?define=>false'
40+
},
3741
],
3842
},
3943
plugins: [

yarn.lock

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3761,6 +3761,14 @@ import-local@^1.0.0:
37613761
pkg-dir "^2.0.0"
37623762
resolve-cwd "^2.0.0"
37633763

3764+
imports-loader@^0.8.0:
3765+
version "0.8.0"
3766+
resolved "https://registry.yarnpkg.com/imports-loader/-/imports-loader-0.8.0.tgz#030ea51b8ca05977c40a3abfd9b4088fe0be9a69"
3767+
integrity sha512-kXWL7Scp8KQ4552ZcdVTeaQCZSLW+e6nJfp3cwUMB673T7Hr98Xjx5JK+ql7ADlJUvj1JS5O01RLbKoutN5QDQ==
3768+
dependencies:
3769+
loader-utils "^1.0.2"
3770+
source-map "^0.6.1"
3771+
37643772
imurmurhash@^0.1.4:
37653773
version "0.1.4"
37663774
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
@@ -4855,6 +4863,15 @@ loader-utils@^0.2.16:
48554863
json5 "^0.5.0"
48564864
object-assign "^4.0.1"
48574865

4866+
loader-utils@^1.0.2:
4867+
version "1.1.0"
4868+
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.1.0.tgz#c98aef488bcceda2ffb5e2de646d6a754429f5cd"
4869+
integrity sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=
4870+
dependencies:
4871+
big.js "^3.1.3"
4872+
emojis-list "^2.0.0"
4873+
json5 "^0.5.0"
4874+
48584875
locate-path@^2.0.0:
48594876
version "2.0.0"
48604877
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e"
@@ -6790,7 +6807,7 @@ source-map@^0.5.1, source-map@^0.5.3, source-map@^0.5.6, source-map@^0.5.7, sour
67906807
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
67916808
integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=
67926809

6793-
source-map@^0.6.0, source-map@~0.6.0, source-map@~0.6.1:
6810+
source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1:
67946811
version "0.6.1"
67956812
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
67966813
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==

0 commit comments

Comments
 (0)