dlzn-ui 1.35.0 → 1.36.0

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.
@@ -37,7 +37,7 @@ var stylelint_config_default = {
37
37
  "@stylistic/selector-combinator-space-before": null,
38
38
  "@stylistic/string-quotes": null,
39
39
  "@stylistic/value-list-comma-newline-after": null,
40
- "at-rule-no-unknown": [true, { ignoreAtRules: ["theme"] }],
40
+ "at-rule-no-unknown": [true, { ignoreAtRules: ["theme", "reference"] }],
41
41
  "csstools/use-nesting": ["always", { message: "尽量使用嵌套写法" }],
42
42
  "import-notation": "string",
43
43
  "selector-class-pattern": ["^(t-|el-|([a-zA-Z][a-zA-Z0-9_]*[a-zA-Z0-9])$)", { message: "自定义 class 名称使用 snake_case" }],
@@ -12,7 +12,7 @@ import tailwindAutoReference from "vite-plugin-vue-tailwind-auto-reference";
12
12
  function commonConfig(_env) {
13
13
  return {
14
14
  clearScreen: false,
15
- plugins: [vue({}), tailwindcss()]
15
+ plugins: [vue({})]
16
16
  };
17
17
  }
18
18
  function bypass(req, res, options) {
@@ -99,18 +99,22 @@ var vite_config_default = (_env, options) => {
99
99
  "color",
100
100
  "dlzn-ui"
101
101
  ] },
102
- plugins: [createHtmlPlugin({
103
- inject: {
104
- data: {
105
- appId: VITE_APP_ID,
106
- mode: isProduction ? "prod" : "dev",
107
- title: VITE_APP_NAME
102
+ plugins: [
103
+ createHtmlPlugin({
104
+ inject: {
105
+ data: {
106
+ appId: VITE_APP_ID,
107
+ mode: isProduction ? "prod" : "dev",
108
+ title: VITE_APP_NAME
109
+ },
110
+ ejsOptions: { views: ["node_modules/dlzn-ui/build/ejs"] }
108
111
  },
109
- ejsOptions: { views: ["node_modules/dlzn-ui/build/ejs"] }
110
- },
111
- minify: true,
112
- template: "node_modules/dlzn-ui/build/index.html"
113
- }), tailwindAutoReference("dlzn-ui/assets/css/tailwindcss-entry.css")],
112
+ minify: true,
113
+ template: "node_modules/dlzn-ui/build/index.html"
114
+ }),
115
+ tailwindAutoReference("node_modules/dlzn-ui/assets/css/tailwindcss-entry.css"),
116
+ tailwindcss()
117
+ ],
114
118
  resolve: {
115
119
  alias: [
116
120
  {
package/package.json CHANGED
@@ -11,7 +11,6 @@
11
11
  "types": "./index.d.ts"
12
12
  },
13
13
  "./assets/css/index.css": "./assets/css/index.css",
14
- "./assets/css/tailwindcss-entry.css": "./assets/css/tailwindcss-entry.css",
15
14
  "./const": {
16
15
  "import": "./const/index.mjs",
17
16
  "types": "./const/index.d.ts"
@@ -79,6 +78,6 @@
79
78
  "**/*.css"
80
79
  ],
81
80
  "type": "module",
82
- "version": "1.35.0",
81
+ "version": "1.36.0",
83
82
  "scripts": {}
84
83
  }