create-packer 1.25.9 → 1.25.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-packer",
3
- "version": "1.25.9",
3
+ "version": "1.25.10",
4
4
  "main": "index.js",
5
5
  "repository": "https://github.com/kevily/create-packer",
6
6
  "author": "1k <bug_zero@163.com>",
@@ -71,6 +71,7 @@
71
71
  "style-loader": "3.3.3",
72
72
  "stylelint": "15.10.3",
73
73
  "stylelint-config-standard": "34.0.0",
74
+ "stylelint-webpack-plugin": "^4.1.1",
74
75
  "typescript": "5.2.2",
75
76
  "webpack": "5.88.2",
76
77
  "webpack-bundle-analyzer": "^4.9.1",
@@ -5,6 +5,7 @@ import { EsbuildPlugin } from 'esbuild-loader'
5
5
  import HtmlWebpackPlugin from 'html-webpack-plugin'
6
6
  import MiniCssExtractPlugin from 'mini-css-extract-plugin'
7
7
  import EslintWebpackPlugin from 'eslint-webpack-plugin'
8
+ import StylelintWebpackPlugin from 'stylelint-webpack-plugin'
8
9
  import ForkTsCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin'
9
10
  import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer'
10
11
  import * as dotenv from 'dotenv'
@@ -120,6 +121,7 @@ export default function (env) {
120
121
  template: path.resolve(ROOT, 'index.html')
121
122
  }),
122
123
  new EslintWebpackPlugin(),
124
+ new StylelintWebpackPlugin(),
123
125
  new ForkTsCheckerWebpackPlugin(),
124
126
  new webpack.DefinePlugin(envConfig),
125
127
  new MiniCssExtractPlugin({