@startupjs/bundler 0.57.0-canary.82 → 0.57.0-canary.91

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.
@@ -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.82",
3
+ "version": "0.57.0-canary.91",
4
4
  "description": "Opinionated scripts and configs to develop a react-native-web project",
5
5
  "main": "index.js",
6
6
  "publishConfig": {
@@ -27,7 +27,7 @@
27
27
  "@startupjs/babel-plugin-startupjs-plugins": "^0.57.0-canary.75",
28
28
  "@startupjs/babel-plugin-transform-react-pug": "^7.0.1-0",
29
29
  "@startupjs/css-to-react-native-transform": "^1.9.0-2",
30
- "@startupjs/server": "^0.57.0-canary.82",
30
+ "@startupjs/server": "^0.57.0-canary.91",
31
31
  "@svgr/core": "^8.1.0",
32
32
  "@svgr/plugin-jsx": "^8.1.0",
33
33
  "@svgr/plugin-svgo": "^8.1.0",
@@ -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.82",
38
+ "babel-preset-startupjs": "^0.57.0-canary.91",
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": "6e88fba6cd67353032a1a7e207c729ad012bc8da"
62
+ "gitHead": "0bda6b39f3a0dea5184e06ac57a9cd715970eefe"
63
63
  }