@openmrs/webpack-config 5.7.1 → 5.7.2-pre.2094
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 +0 -1
- package/dist/index.js +7 -3
- package/package.json +5 -2
- package/src/index.ts +7 -3
- package/.turbo/turbo-lint.log +0 -0
- package/.turbo/turbo-test.log +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/dist/index.js
CHANGED
|
@@ -176,15 +176,15 @@ exports.default = (env, argv = {}) => {
|
|
|
176
176
|
}, exports.scriptRuleConfig),
|
|
177
177
|
(0, lodash_1.merge)({
|
|
178
178
|
test: /\.css$/,
|
|
179
|
-
use: [
|
|
179
|
+
use: ['style-loader', cssLoader],
|
|
180
180
|
}, exports.cssRuleConfig),
|
|
181
181
|
(0, lodash_1.merge)({
|
|
182
182
|
test: /\.s[ac]ss$/i,
|
|
183
183
|
use: [
|
|
184
|
-
|
|
184
|
+
'style-loader',
|
|
185
185
|
cssLoader,
|
|
186
186
|
{
|
|
187
|
-
loader:
|
|
187
|
+
loader: 'sass-loader',
|
|
188
188
|
options: { sassOptions: { quietDeps: true } },
|
|
189
189
|
},
|
|
190
190
|
],
|
|
@@ -283,7 +283,11 @@ exports.default = (env, argv = {}) => {
|
|
|
283
283
|
extensions: ['.tsx', '.ts', '.jsx', '.js', '.scss', '.json'],
|
|
284
284
|
alias: {
|
|
285
285
|
'@openmrs/esm-framework': '@openmrs/esm-framework/src/internal',
|
|
286
|
+
'lodash.debounce': 'lodash-es/debounce',
|
|
286
287
|
'lodash.findlast': 'lodash-es/findLast',
|
|
288
|
+
'lodash.isequal': 'lodash-es/isEqual',
|
|
289
|
+
'lodash.omit': 'lodash-es/omit',
|
|
290
|
+
'lodash.throttle': 'lodash-es/throttle',
|
|
287
291
|
},
|
|
288
292
|
} }, exports.overrides);
|
|
289
293
|
return (0, lodash_1.mergeWith)(baseConfig, exports.additionalConfig, mergeFunction);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/webpack-config",
|
|
3
|
-
"version": "5.7.
|
|
3
|
+
"version": "5.7.2-pre.2094",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "src/index.ts",
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"css-loader": "^5.2.4",
|
|
38
38
|
"fork-ts-checker-webpack-plugin": "^6.5.0",
|
|
39
39
|
"lodash": "^4.17.21",
|
|
40
|
+
"lodash-es": "^4.17.21",
|
|
40
41
|
"sass": ">=1.45.0 <1.65.0",
|
|
41
42
|
"sass-loader": "^12.3.0",
|
|
42
43
|
"style-loader": "^3.3.1",
|
|
@@ -49,6 +50,8 @@
|
|
|
49
50
|
"webpack": "5.x"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
53
|
+
"@types/lodash-es": "^4.17.5",
|
|
52
54
|
"typescript": "^4.6.4"
|
|
53
|
-
}
|
|
55
|
+
},
|
|
56
|
+
"stableVersion": "5.7.1"
|
|
54
57
|
}
|
package/src/index.ts
CHANGED
|
@@ -204,7 +204,7 @@ export default (env: Record<string, string>, argv: Record<string, string> = {})
|
|
|
204
204
|
merge(
|
|
205
205
|
{
|
|
206
206
|
test: /\.css$/,
|
|
207
|
-
use: [
|
|
207
|
+
use: ['style-loader', cssLoader],
|
|
208
208
|
},
|
|
209
209
|
cssRuleConfig,
|
|
210
210
|
),
|
|
@@ -212,10 +212,10 @@ export default (env: Record<string, string>, argv: Record<string, string> = {})
|
|
|
212
212
|
{
|
|
213
213
|
test: /\.s[ac]ss$/i,
|
|
214
214
|
use: [
|
|
215
|
-
|
|
215
|
+
'style-loader',
|
|
216
216
|
cssLoader,
|
|
217
217
|
{
|
|
218
|
-
loader:
|
|
218
|
+
loader: 'sass-loader',
|
|
219
219
|
options: { sassOptions: { quietDeps: true } },
|
|
220
220
|
},
|
|
221
221
|
],
|
|
@@ -335,7 +335,11 @@ export default (env: Record<string, string>, argv: Record<string, string> = {})
|
|
|
335
335
|
extensions: ['.tsx', '.ts', '.jsx', '.js', '.scss', '.json'],
|
|
336
336
|
alias: {
|
|
337
337
|
'@openmrs/esm-framework': '@openmrs/esm-framework/src/internal',
|
|
338
|
+
'lodash.debounce': 'lodash-es/debounce',
|
|
338
339
|
'lodash.findlast': 'lodash-es/findLast',
|
|
340
|
+
'lodash.isequal': 'lodash-es/isEqual',
|
|
341
|
+
'lodash.omit': 'lodash-es/omit',
|
|
342
|
+
'lodash.throttle': 'lodash-es/throttle',
|
|
339
343
|
},
|
|
340
344
|
},
|
|
341
345
|
...overrides,
|
package/.turbo/turbo-lint.log
DELETED
|
File without changes
|
package/.turbo/turbo-test.log
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[1mNo tests found, exiting with code 0[22m
|