@openmrs/webpack-config 5.5.1-pre.1729 → 5.5.1-pre.1732
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/.turbo/turbo-build.log +1 -1
- package/dist/index.js +2 -0
- package/package.json +1 -1
- package/src/index.ts +2 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[34m@openmrs/webpack-config:build[0m: cache hit, replaying output [
|
|
1
|
+
[34m@openmrs/webpack-config:build[0m: cache hit, replaying output [2mf8705be220c77c62[0m
|
package/dist/index.js
CHANGED
|
@@ -238,6 +238,7 @@ exports.default = (env, argv = {}) => {
|
|
|
238
238
|
// See: https://github.com/webpack/webpack/issues/16125 and https://github.com/vercel/swr/issues/2356
|
|
239
239
|
obj['swr/'] = {
|
|
240
240
|
requiredVersion: (_a = peerDependencies['swr']) !== null && _a !== void 0 ? _a : false,
|
|
241
|
+
strictVersion: false,
|
|
241
242
|
singleton: true,
|
|
242
243
|
import: 'swr/',
|
|
243
244
|
shareKey: 'swr/',
|
|
@@ -248,6 +249,7 @@ exports.default = (env, argv = {}) => {
|
|
|
248
249
|
else {
|
|
249
250
|
obj[depName] = {
|
|
250
251
|
requiredVersion: (_b = peerDependencies[depName]) !== null && _b !== void 0 ? _b : false,
|
|
252
|
+
strictVersion: false,
|
|
251
253
|
singleton: true,
|
|
252
254
|
import: depName,
|
|
253
255
|
shareKey: depName,
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -288,6 +288,7 @@ export default (env: Record<string, string>, argv: Record<string, string> = {})
|
|
|
288
288
|
// See: https://github.com/webpack/webpack/issues/16125 and https://github.com/vercel/swr/issues/2356
|
|
289
289
|
obj['swr/'] = {
|
|
290
290
|
requiredVersion: peerDependencies['swr'] ?? false,
|
|
291
|
+
strictVersion: false,
|
|
291
292
|
singleton: true,
|
|
292
293
|
import: 'swr/',
|
|
293
294
|
shareKey: 'swr/',
|
|
@@ -297,6 +298,7 @@ export default (env: Record<string, string>, argv: Record<string, string> = {})
|
|
|
297
298
|
} else {
|
|
298
299
|
obj[depName] = {
|
|
299
300
|
requiredVersion: peerDependencies[depName] ?? false,
|
|
301
|
+
strictVersion: false,
|
|
300
302
|
singleton: true,
|
|
301
303
|
import: depName,
|
|
302
304
|
shareKey: depName,
|