Skip to content

Commit c1d1ceb

Browse files
authored
Prevent xmlhttprequest from being bundled for browser. @atomic-reactor/[email protected] to fix windows build for socket.io client. (using distribution UMD bundle instead) (#127)
1 parent afca975 commit c1d1ceb

File tree

4 files changed

+4
-13
lines changed

4 files changed

+4
-13
lines changed

.core/gulp.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ const defaultConfig = {
142142
'umdLibraries',
143143
'serviceWorker',
144144
'compress',
145-
'apidocs',
146145
'postBuild',
147146
],
148147
};

.core/webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ module.exports = config => {
141141
sdk.addIgnore('reactium-gulp', /reactium-gulp.js$/);
142142
sdk.addIgnore('reactium-webpack', /reactium-webpack.js$/);
143143
sdk.addIgnore('parse-node', /parse\/node/);
144+
sdk.addIgnore('xmlhttprequest', /xmlhttprequest/);
144145

145146
if (env === 'production') {
146147
sdk.addIgnore('redux-devtools', /redux-devtools/);

package-lock.json

Lines changed: 2 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
]
178178
},
179179
"reactiumDependencies": {
180-
"@atomic-reactor/reactium-api": "2.0.0",
180+
"@atomic-reactor/reactium-api": "2.0.3",
181181
"@atomic-reactor/reactium-capability": "2.0.0",
182182
"@atomic-reactor/reactium-demo": "1.0.1",
183183
"@atomic-reactor/reactium-role": "2.0.0",

0 commit comments

Comments
 (0)