bridgetown-core 1.1.0.beta1 → 1.1.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 423677a019c8efddafcee904aa9c5aaa8bb9faed27e9ef7c33afc0bf42994b5a
|
4
|
+
data.tar.gz: 0ac8e9e2f6b954dac8e43892ed9313e7068d4c5038fe8fe3186949f288818a87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e43c335ccf732d3ff398b4e141d38ff77c8ef1a0d3d583b9c7f1a3632f55a4ef0441f09db48e8a80544e29edfda3ef7f7f52facd3f912ab3fd2524d7d7b1117e
|
7
|
+
data.tar.gz: 5dac3b8ff53a144f61106debf2dcfd44a0c4c05e31951d1b81c48c5c815382ea2c256a1d5a155a0c5668dae4efd1f9293e9200f32596688b603cf0b34f48a234
|
@@ -8,7 +8,7 @@ say "🎉 Webpack configuration updated successfully!"
|
|
8
8
|
return if Bridgetown.environment.test?
|
9
9
|
|
10
10
|
required_packages = %w(esbuild esbuild-loader css-loader@6.7.1 webpack@5.72.0 webpack-cli@4.9.2 webpack-manifest-plugin@5.0.0)
|
11
|
-
redundant_packages = %w(@babel/core @babel/plugin-proposal-class-properties @babel/plugin-proposal-decorators @babel/plugin-transform-runtime @babel/preset-env babel-loader)
|
11
|
+
redundant_packages = %w(@babel/core @babel/plugin-proposal-class-properties @babel/plugin-proposal-decorators @babel/plugin-transform-runtime @babel/preset-env babel-loader file-loader)
|
12
12
|
|
13
13
|
say "Installing required packages"
|
14
14
|
run "yarn add -D --tilde #{required_packages.join(" ")}"
|
@@ -81,22 +81,18 @@ const cssRules = {
|
|
81
81
|
|
82
82
|
const fontsRule = {
|
83
83
|
test: /\.woff2?$|\.ttf$|\.eot$/,
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
publicPath: "../fonts",
|
89
|
-
},
|
84
|
+
type: "asset/resource",
|
85
|
+
generator: {
|
86
|
+
filename: "../fonts/[name]-[hash][ext][query]"
|
87
|
+
}
|
90
88
|
}
|
91
89
|
|
92
90
|
const imagesRule = {
|
93
91
|
test: /\.png?$|\.gif$|\.jpg$|\.svg$/,
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
publicPath: "../",
|
99
|
-
},
|
92
|
+
type: "asset/resource",
|
93
|
+
generator: {
|
94
|
+
filename: "../[path][name]-[hash][ext][query]"
|
95
|
+
}
|
100
96
|
}
|
101
97
|
|
102
98
|
// Default configuration object
|