Skip to content

Commit 3674aad

Browse files
author
Maël Nison
committed
Fixes the bundle build
1 parent 53a6483 commit 3674aad

File tree

3 files changed

+21
-1058
lines changed

3 files changed

+21
-1058
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: [

0 commit comments

Comments
 (0)