@knotx/build-config 0.4.8 → 0.4.9
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 +3 -3
- package/src/index.ts +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knotx/build-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.9",
|
|
5
5
|
"description": "Build config for Knotx",
|
|
6
6
|
"author": "boenfu",
|
|
7
7
|
"license": "MIT",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"rollup": "^4.9.5"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@knotx/eslint-config": "0.4.
|
|
38
|
-
"@knotx/typescript-config": "0.4.
|
|
37
|
+
"@knotx/eslint-config": "0.4.9",
|
|
38
|
+
"@knotx/typescript-config": "0.4.9"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"lint": "eslint ."
|
package/src/index.ts
CHANGED
|
@@ -27,6 +27,6 @@ const buildConfig: BuildConfig = ({
|
|
|
27
27
|
|
|
28
28
|
export const defaultBuildConfig = defineBuildConfig(buildConfig)
|
|
29
29
|
|
|
30
|
-
export function buildConfigBuilder(fn: (buildConfig: BuildConfig) => BuildConfig) {
|
|
30
|
+
export function buildConfigBuilder(fn: (buildConfig: BuildConfig) => (BuildConfig | BuildConfig[])) {
|
|
31
31
|
return defineBuildConfig(fn(buildConfig))
|
|
32
32
|
}
|