@umijs/bundler-esbuild 4.0.0-rc.6 → 4.0.0-rc.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.
@@ -1,4 +1,3 @@
1
- /// <reference types="less" />
2
1
  import { Plugin } from '@umijs/bundler-utils/compiled/esbuild';
3
2
  import { IConfig } from '../types';
4
3
  export declare const aliasLessImportPath: (filePath: string, alias: Record<string, string>, importer: string) => Promise<string | null>;
@@ -24,9 +24,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.aliasLessImportPath = void 0;
27
+ const less_1 = __importDefault(require("@umijs/bundler-utils/compiled/less"));
27
28
  const enhanced_resolve_1 = __importDefault(require("enhanced-resolve"));
28
29
  const fs_1 = require("fs");
29
- const less_1 = __importDefault(require("less"));
30
30
  const less_plugin_aliases_1 = __importDefault(require("less-plugin-aliases"));
31
31
  const path_1 = __importDefault(require("path"));
32
32
  const postcssProcess_1 = require("../utils/postcssProcess");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umijs/bundler-esbuild",
3
- "version": "4.0.0-rc.6",
3
+ "version": "4.0.0-rc.9",
4
4
  "description": "@umijs/bundler-esbuild",
5
5
  "homepage": "https://github.com/umijs/umi-next/tree/master/packages/bundler-esbuild#readme",
6
6
  "bugs": "https://github.com/umijs/umi-next/issues",
@@ -20,21 +20,20 @@
20
20
  "scripts": {
21
21
  "build": "pnpm tsc",
22
22
  "build:deps": "pnpm esno ../../scripts/bundleDeps.ts",
23
- "dev": "pnpm build -- --watch"
23
+ "dev": "pnpm build -- --watch",
24
+ "test": "jest -c ../../jest.turbo.config.ts"
24
25
  },
25
26
  "dependencies": {
26
- "@umijs/bundler-utils": "4.0.0-rc.6",
27
- "@umijs/utils": "4.0.0-rc.6",
27
+ "@umijs/bundler-utils": "4.0.0-rc.9",
28
+ "@umijs/utils": "4.0.0-rc.9",
28
29
  "enhanced-resolve": "5.9.2",
29
- "less": "4.1.2",
30
30
  "less-plugin-aliases": "^1.0.3",
31
- "postcss": "^8.4.8",
31
+ "postcss": "^8.4.12",
32
32
  "postcss-flexbugs-fixes": "5.0.2",
33
- "postcss-preset-env": "7.4.2"
33
+ "postcss-preset-env": "7.4.3"
34
34
  },
35
35
  "devDependencies": {
36
- "@alitajs/postcss-plugin-px2rem": "^0.0.1",
37
- "@types/less": "^3.0.3"
36
+ "@alitajs/postcss-plugin-px2rem": "^0.0.1"
38
37
  },
39
38
  "publishConfig": {
40
39
  "access": "public"