@sleeperhq/mini-core 0.0.3 → 0.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sleeperhq/mini-core",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Core library frameworks for developing Sleeper Mini Apps.",
5
5
  "main": "index.ts",
6
6
  "types": "index.d.ts",
@@ -42,12 +42,12 @@
42
42
  "@react-native-community/cli-platform-apple": "15.0.1",
43
43
  "@react-native-community/cli-platform-ios": "15.0.1",
44
44
  "@react-native-community/netinfo": "11.3.2",
45
+ "@rspack/plugin-react-refresh": "1.0.0",
45
46
  "axios": "0.15.3",
46
47
  "babel-loader": "9.1.3",
47
48
  "react-native-fast-image": "https://github.com/blitzstudios/react-native-fast-image.git#release/1.4",
48
49
  "react-native-linear-gradient": "2.8.3",
49
50
  "react-native-rename": "blitzstudios/react-native-rename.git#react-native-rename-v3.2.17-gitpkg",
50
- "react-refresh": "0.14.0",
51
51
  "regenerator-runtime": "0.13.11",
52
52
  "rx": "4.1.0",
53
53
  "string-replace-loader": "3.1.0",
package/webpack.config.js CHANGED
@@ -80,11 +80,6 @@ module.exports = env => {
80
80
  */
81
81
  devtool: false,
82
82
  context,
83
- /**
84
- * `getInitializationEntries` will return necessary entries with setup and initialization code.
85
- * If you don't want to use Hot Module Replacement, set `hmr` option to `false`. By default,
86
- * HMR will be enabled in development mode.
87
- */
88
83
  entry,
89
84
  resolve: {
90
85
  /**
@@ -125,6 +120,7 @@ module.exports = env => {
125
120
  : 'index.ios.bundle',
126
121
  chunkFilename: '[name].chunk.bundle',
127
122
  publicPath: Repack.getPublicPath({platform, devServer}),
123
+ uniqueName: 'sleeper',
128
124
  },
129
125
  /**
130
126
  * Configures optimization of the built bundle.
@@ -193,6 +189,7 @@ module.exports = env => {
193
189
  ],
194
190
  babelrc: false,
195
191
  cacheDirectory: true,
192
+ sourceMaps: true,
196
193
  },
197
194
  },
198
195
  },
@@ -217,6 +214,7 @@ module.exports = env => {
217
214
  babelrc: false,
218
215
  comments: true, // necessary for named chunks
219
216
  cacheDirectory: true,
217
+ sourceMaps: true,
220
218
  },
221
219
  },
222
220
  },