@openmrs/webpack-config 4.0.0-pre.0 → 4.0.0-pre.1

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.
@@ -1,2 +1,2 @@
1
- @openmrs/webpack-config:build: cache hit, replaying output c1cdecd2e269d1cd
1
+ @openmrs/webpack-config:build: cache hit, replaying output 2812ea0cdaef8bf4
2
2
  @openmrs/webpack-config:build: $ tsc
@@ -1,2 +1,2 @@
1
- @openmrs/webpack-config:lint: cache hit, replaying output b2f6553392b8a2ab
2
- @openmrs/webpack-config:lint: $ eslint src --ext ts,tsx
1
+ @openmrs/webpack-config:lint: cache hit, replaying output 45f95ba13073f8cb
2
+ @openmrs/webpack-config:lint: $ eslint src --ext ts,tsx
@@ -1,3 +1,3 @@
1
- @openmrs/webpack-config:test: cache hit, replaying output 46ec090317337055
1
+ @openmrs/webpack-config:test: cache hit, replaying output d994d8eb064c6430
2
2
  @openmrs/webpack-config:test: $ jest --passWithNoTests
3
3
  @openmrs/webpack-config:test: No tests found, exiting with code 0
package/dist/index.js CHANGED
@@ -170,7 +170,7 @@ exports.default = (env, argv = {}) => {
170
170
  type: "asset/resource",
171
171
  }, exports.assetRuleConfig),
172
172
  ],
173
- }, mode, devtool: mode === production ? "source-map" : "inline-source-map", devServer: {
173
+ }, mode, devtool: mode === production ? false : "inline-source-map", devServer: {
174
174
  headers: {
175
175
  "Access-Control-Allow-Origin": "*",
176
176
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/webpack-config",
3
- "version": "4.0.0-pre.0",
3
+ "version": "4.0.0-pre.1",
4
4
  "license": "MPL-2.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "src/index.ts",
@@ -53,5 +53,5 @@
53
53
  "typescript": "~4.5.2",
54
54
  "webpack": "^5.64.0"
55
55
  },
56
- "gitHead": "254a7226212aac82df4434639b2584e24ac240e4"
56
+ "gitHead": "9f58b801f07526083a9edc1cc5a1e58660d71eb0"
57
57
  }
package/src/index.ts CHANGED
@@ -201,7 +201,7 @@ export default (
201
201
  ],
202
202
  },
203
203
  mode,
204
- devtool: mode === production ? "source-map" : "inline-source-map",
204
+ devtool: mode === production ? false : "inline-source-map",
205
205
  devServer: {
206
206
  headers: {
207
207
  "Access-Control-Allow-Origin": "*",