@startupjs/bundler 0.57.0-canary.82 → 0.57.0-canary.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/eliminatorLoader.js +7 -0
- package/package.json +3 -3
package/lib/eliminatorLoader.js
CHANGED
|
@@ -155,6 +155,13 @@ module.exports = function eliminatorLoader (source) {
|
|
|
155
155
|
replaceWith: {
|
|
156
156
|
remove: true // replace the whole function call with undefined
|
|
157
157
|
}
|
|
158
|
+
}, {
|
|
159
|
+
// remove serverOnly() calls (replace with undefined)
|
|
160
|
+
functionName: 'serverOnly',
|
|
161
|
+
magicImports: ['startupjs'],
|
|
162
|
+
replaceWith: {
|
|
163
|
+
remove: true // replace the whole function call with undefined
|
|
164
|
+
}
|
|
158
165
|
}]
|
|
159
166
|
}
|
|
160
167
|
: {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@startupjs/bundler",
|
|
3
|
-
"version": "0.57.0-canary.
|
|
3
|
+
"version": "0.57.0-canary.83",
|
|
4
4
|
"description": "Opinionated scripts and configs to develop a react-native-web project",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"assets-webpack-plugin": "^7.1.1",
|
|
36
36
|
"autoprefixer": "^10.4.0",
|
|
37
37
|
"babel-loader": "^8.2.3",
|
|
38
|
-
"babel-preset-startupjs": "^0.57.0-canary.
|
|
38
|
+
"babel-preset-startupjs": "^0.57.0-canary.83",
|
|
39
39
|
"connect": "^3.7.0",
|
|
40
40
|
"css-loader": "^6.5.0",
|
|
41
41
|
"css-minimizer-webpack-plugin": "^5.0.0",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"react-native-svg": "*"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "de2eb9db2260bd18cec39c3631bc442ff9271762"
|
|
63
63
|
}
|