z-test-theme
Advanced tools
| const ThemeColorReplacer = require('webpack-theme-color-replacer') | ||
| const forElementUI = require('webpack-theme-color-replacer/forElementUI') | ||
| module.exports = new ThemeColorReplacer({ | ||
| fileName: 'css/theme-colors.[contenthash:8].css', | ||
| matchColors: [ | ||
| ...forElementUI.getElementUISeries('#409EFF') // element-ui主色系列 | ||
| ], | ||
| changeSelector: forElementUI.changeSelector, | ||
| isJsUgly: process.env.NODE_ENV !== 'development' | ||
| }) |
+3
-2
| { | ||
| "private": false, | ||
| "name": "z-test-theme", | ||
| "version": "1.1.1", | ||
| "version": "1.1.2", | ||
| "description": "", | ||
@@ -10,3 +10,4 @@ "main": "packages/install.js", | ||
| "src", | ||
| "packages" | ||
| "packages", | ||
| "plugin" | ||
| ], | ||
@@ -13,0 +14,0 @@ "scripts": { |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
97629
0.47%58
1.75%698
1.45%6
20%