@okamjs/okam
Advanced tools
Comparing version 0.4.12 to 0.4.13-canary.20240506.1
@@ -6,2 +6,6 @@ /* tslint:disable */ | ||
export interface TransformOutput { | ||
code: string; | ||
map?: string; | ||
} | ||
export interface JsHooks { | ||
@@ -8,0 +12,0 @@ load?: (filePath: string) => Promise<{ content: string; type: 'css' | 'js' }>; |
@@ -106,6 +106,2 @@ var __create = Object.create; | ||
params.hooks.load = async function (filePath) { | ||
let lessResult = await less(filePath); | ||
if (lessResult) { | ||
return lessResult; | ||
} | ||
if (originLoad) { | ||
@@ -117,2 +113,6 @@ let originResult = await originLoad(filePath); | ||
} | ||
let lessResult = await less(filePath); | ||
if (lessResult) { | ||
return lessResult; | ||
} | ||
}; | ||
@@ -119,0 +119,0 @@ if (!params.watch) { |
{ | ||
"name": "@okamjs/okam", | ||
"version": "0.4.12", | ||
"version": "0.4.13-canary.20240506.1", | ||
"main": "dist/index.js", | ||
@@ -66,7 +66,7 @@ "types": "dist/index.d.ts", | ||
"optionalDependencies": { | ||
"@okamjs/okam-darwin-arm64": "0.4.12", | ||
"@okamjs/okam-darwin-x64": "0.4.12", | ||
"@okamjs/okam-linux-x64-gnu": "0.4.12" | ||
"@okamjs/okam-darwin-arm64": "0.4.13-canary.20240506.1", | ||
"@okamjs/okam-darwin-x64": "0.4.13-canary.20240506.1", | ||
"@okamjs/okam-linux-x64-gnu": "0.4.13-canary.20240506.1" | ||
}, | ||
"repository": "git@github.com:umijs/mako.git" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40336
1237