@doracli/type 0.0.12 → 0.0.17

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/README.md CHANGED
@@ -4,5 +4,4 @@
4
4
 
5
5
  ```
6
6
  dora type
7
-
8
7
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doracli/type",
3
- "version": "0.0.12",
3
+ "version": "0.0.17",
4
4
  "description": "package by webpack",
5
5
  "author": "cclr <18843152354@163.com>",
6
6
  "homepage": "",
@@ -23,5 +23,5 @@
23
23
  "g:test": "vitest run",
24
24
  "build": "drr build"
25
25
  },
26
- "gitHead": "40184094063c80cfb7341843ddfa1fea35d06157"
26
+ "gitHead": "261979ba5cf43594881763b8448a8bfb3e71c07e"
27
27
  }
@@ -1,3 +1,5 @@
1
+ import type { TPlainObject } from './common';
2
+
1
3
  export type TDoraConfigWebpack = {
2
4
  /** 日志级别,默认 warn */
3
5
  logging?: 'none' | 'error' | 'warn' | 'info' | 'log' | 'verbose' | undefined; // 只显示警告及以上日志
@@ -22,8 +24,11 @@ export type TDoraConfigWebpack = {
22
24
  };
23
25
  loaderOptions?: {
24
26
  postcssPluginExtra?: unknown[];
27
+ sassLoaderOptions?: TPlainObject;
25
28
  };
26
29
  pluginsOptions?: {
30
+ /** html 中脚本和样式的公共路径 */
31
+ htmlPublicPath?: string;
27
32
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
28
33
  WebpackBundleAnalyzer: any;
29
34
  };