@openmrs/webpack-config 4.1.1-pre.545 → 4.1.1-pre.549

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 +1 @@
1
- @openmrs/webpack-config:build: cache hit, replaying output 84823376f062a689
1
+ @openmrs/webpack-config:build: cache hit, replaying output 414e41ce47ad2f7b
package/dist/index.js CHANGED
@@ -142,7 +142,7 @@ exports.default = (env, argv = {}) => {
142
142
  // Use default `libraryTarget`, which is jsonp
143
143
  publicPath: "auto",
144
144
  path: (0, path_1.resolve)(root, outDir),
145
- }, target: "web", module: {
145
+ }, module: {
146
146
  rules: [
147
147
  (0, lodash_1.merge)({
148
148
  test: /\.m?(js|ts|tsx)$/,
@@ -171,7 +171,7 @@ exports.default = (env, argv = {}) => {
171
171
  type: "asset/resource",
172
172
  }, exports.assetRuleConfig),
173
173
  ],
174
- }, mode, devtool: mode === production ? false : "inline-source-map", devServer: {
174
+ }, mode, devtool: mode === production ? "hidden-nosources-source-map" : "eval-source-map", devServer: {
175
175
  headers: {
176
176
  "Access-Control-Allow-Origin": "*",
177
177
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/webpack-config",
3
- "version": "4.1.1-pre.545",
3
+ "version": "4.1.1-pre.549",
4
4
  "license": "MPL-2.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "src/index.ts",
@@ -53,5 +53,5 @@
53
53
  "devDependencies": {
54
54
  "typescript": "~4.5.2"
55
55
  },
56
- "gitHead": "b28cd88871a988cad2430b7fe003c775baf72794"
56
+ "gitHead": "9be4072c756027ee63d0f774205d8bfb0ba539f5"
57
57
  }
package/src/index.ts CHANGED
@@ -162,7 +162,6 @@ export default (
162
162
  publicPath: "auto",
163
163
  path: resolve(root, outDir),
164
164
  },
165
- target: "web",
166
165
  module: {
167
166
  rules: [
168
167
  merge(
@@ -206,7 +205,8 @@ export default (
206
205
  ],
207
206
  },
208
207
  mode,
209
- devtool: mode === production ? false : "inline-source-map",
208
+ devtool:
209
+ mode === production ? "hidden-nosources-source-map" : "eval-source-map",
210
210
  devServer: {
211
211
  headers: {
212
212
  "Access-Control-Allow-Origin": "*",