@henderea/static-site-builder 1.9.3 → 1.9.8
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.
|
@@ -3,7 +3,7 @@ const fs = require('fs');
|
|
|
3
3
|
const webpack = require('webpack');
|
|
4
4
|
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
|
5
5
|
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
|
|
6
|
-
const
|
|
6
|
+
const { WebpackManifestPlugin } = require('webpack-manifest-plugin');
|
|
7
7
|
const CopyPlugin = require('copy-webpack-plugin');
|
|
8
8
|
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
|
|
9
9
|
const getClientEnvironment = require('./env');
|
|
@@ -70,7 +70,7 @@ const plugins = [
|
|
|
70
70
|
new webpack.DefinePlugin(env.stringified),
|
|
71
71
|
new HtmlWebpackPlugin(htmlWebpackPluginOptions),
|
|
72
72
|
new CaseSensitivePathsPlugin(),
|
|
73
|
-
new
|
|
73
|
+
new WebpackManifestPlugin({
|
|
74
74
|
fileName: 'asset-manifest.json',
|
|
75
75
|
publicPath: publicPath
|
|
76
76
|
}),
|
|
@@ -4,7 +4,7 @@ const webpack = require('webpack');
|
|
|
4
4
|
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
|
5
5
|
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');
|
|
6
6
|
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
7
|
-
const
|
|
7
|
+
const { WebpackManifestPlugin } = require('webpack-manifest-plugin');
|
|
8
8
|
const CopyPlugin = require('copy-webpack-plugin');
|
|
9
9
|
const { GenerateSW } = require('workbox-webpack-plugin');
|
|
10
10
|
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
|
|
@@ -13,7 +13,6 @@ const getClientEnvironment = require('./env');
|
|
|
13
13
|
const paths = require('./paths');
|
|
14
14
|
const _ = require('lodash');
|
|
15
15
|
const crypto = require('crypto');
|
|
16
|
-
const { findIndex } = require('lodash');
|
|
17
16
|
const globby = require('globby');
|
|
18
17
|
|
|
19
18
|
// Webpack uses `publicPath` to determine where the app is being served from.
|
|
@@ -111,7 +110,7 @@ const plugins = [
|
|
|
111
110
|
new MiniCssExtractPlugin({
|
|
112
111
|
filename: cssFilename
|
|
113
112
|
}),
|
|
114
|
-
new
|
|
113
|
+
new WebpackManifestPlugin({
|
|
115
114
|
fileName: 'asset-manifest.json',
|
|
116
115
|
publicPath,
|
|
117
116
|
filter(file) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@henderea/static-site-builder",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.8",
|
|
4
4
|
"description": "A static site builder",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": "henderea/static-site-builder.git",
|
|
@@ -17,45 +17,45 @@
|
|
|
17
17
|
"registerServiceWorker.js"
|
|
18
18
|
],
|
|
19
19
|
"bin": {
|
|
20
|
-
"static-site-builder": "
|
|
20
|
+
"static-site-builder": "bin/static-site-builder.js"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@babel/core": "^7.
|
|
23
|
+
"@babel/core": "^7.16.5",
|
|
24
24
|
"babel-core": "^6.26.3",
|
|
25
|
-
"babel-loader": "^8.2.
|
|
26
|
-
"case-sensitive-paths-webpack-plugin": "^2.
|
|
27
|
-
"chalk": "^
|
|
28
|
-
"copy-webpack-plugin": "^
|
|
25
|
+
"babel-loader": "^8.2.3",
|
|
26
|
+
"case-sensitive-paths-webpack-plugin": "^2.4.0",
|
|
27
|
+
"chalk": "^5.0.0",
|
|
28
|
+
"copy-webpack-plugin": "^10.2.0",
|
|
29
29
|
"cross-spawn": "^7.0.3",
|
|
30
|
-
"css-loader": "^5.
|
|
31
|
-
"dotenv": "^
|
|
30
|
+
"css-loader": "^6.5.1",
|
|
31
|
+
"dotenv": "^10.0.0",
|
|
32
32
|
"dotenv-expand": "^5.1.0",
|
|
33
|
-
"ejs": "^3.1.
|
|
34
|
-
"eslint": "^
|
|
33
|
+
"ejs": "^3.1.6",
|
|
34
|
+
"eslint": "^8.5.0",
|
|
35
35
|
"file-loader": "^6.2.0",
|
|
36
36
|
"filesize": "^6.1.0",
|
|
37
37
|
"find-pkg": "^2.0.0",
|
|
38
|
-
"globby": "^11.0.
|
|
38
|
+
"globby": "^11.0.2",
|
|
39
39
|
"gzip-size": "^6.0.0",
|
|
40
|
-
"handlebars": "^4.7.
|
|
41
|
-
"html-webpack-plugin": "^5.
|
|
42
|
-
"lodash": "^4.17.
|
|
43
|
-
"mini-css-extract-plugin": "^
|
|
40
|
+
"handlebars": "^4.7.7",
|
|
41
|
+
"html-webpack-plugin": "^5.5.0",
|
|
42
|
+
"lodash": "^4.17.21",
|
|
43
|
+
"mini-css-extract-plugin": "^2.4.5",
|
|
44
44
|
"moment": "^2.29.1",
|
|
45
45
|
"moment-locales-webpack-plugin": "^1.2.0",
|
|
46
|
-
"node-sass": "^
|
|
47
|
-
"postcss-loader": "^
|
|
48
|
-
"postcss-preset-env": "^
|
|
46
|
+
"node-sass": "^7.0.0",
|
|
47
|
+
"postcss-loader": "^6.2.1",
|
|
48
|
+
"postcss-preset-env": "^7.0.2",
|
|
49
49
|
"recursive-readdir": "^2.2.2",
|
|
50
|
-
"sass-loader": "^
|
|
50
|
+
"sass-loader": "^12.4.0",
|
|
51
51
|
"strip-ansi": "^6.0.0",
|
|
52
|
-
"style-loader": "^
|
|
53
|
-
"thread-loader": "^3.0.
|
|
54
|
-
"ts-loader": "^
|
|
55
|
-
"tsconfig-paths-webpack-plugin": "^3.
|
|
56
|
-
"typescript": "^4.
|
|
57
|
-
"webpack": "^5.
|
|
58
|
-
"webpack-manifest-plugin": "^
|
|
59
|
-
"workbox-webpack-plugin": "^6.
|
|
52
|
+
"style-loader": "^3.3.1",
|
|
53
|
+
"thread-loader": "^3.0.4",
|
|
54
|
+
"ts-loader": "^9.2.6",
|
|
55
|
+
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
56
|
+
"typescript": "^4.5.4",
|
|
57
|
+
"webpack": "^5.65.0",
|
|
58
|
+
"webpack-manifest-plugin": "^4.0.2",
|
|
59
|
+
"workbox-webpack-plugin": "^6.4.2"
|
|
60
60
|
}
|
|
61
61
|
}
|