@hzwtech.com/utils 0.0.3 → 0.0.4

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.
Files changed (2) hide show
  1. package/dist/vite.js +3 -3
  2. package/package.json +1 -1
package/dist/vite.js CHANGED
@@ -2,9 +2,9 @@ import process from 'node:process'
2
2
  import AutoImportVite from 'unplugin-auto-import/vite'
3
3
 
4
4
  function scss(options) {
5
- let { additionalData } = options
6
- if (!additionalData) {
7
- additionalData = ''
5
+ let additionalData = ''
6
+ if (options && options.additionalData) {
7
+ additionalData = options.additionalData
8
8
  }
9
9
  return {
10
10
  additionalData: `
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hzwtech.com/utils",
3
3
  "type": "module",
4
- "version": "0.0.3",
4
+ "version": "0.0.4",
5
5
  "description": "通用前端工具包,包含请求,正则校验,全局ts声明等",
6
6
  "author": "hzwtech.com",
7
7
  "license": "MIT",