bridgetown-core 0.19.2 → 0.19.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bridgetown-core/version.rb +1 -1
- data/lib/site_template/webpack.config.js.erb +18 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad7d5025a99240586457a8afa4aa3e9a9aba0e289484ff855648bd772b89e7a9
|
4
|
+
data.tar.gz: 1ea0ad14dc78ca7465f7ff93bab6e178ec18b336e08641ac18bf75cf655b7246
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95b1542d9fa33741d18832a026aa43e720f99520b8367b12672e2689c7be19200e0cedd53b8070666c15e7594af43dec3c1885fa8570e6c7daf463afcae3405f
|
7
|
+
data.tar.gz: '00048d6aa2ca15728544ecbf46ee05b4b813630a03a0f35154b45096a2f9720ea645e23faac13fcab18a85e395fa6782eee522cbd39248b88b0f2a80a7fcff41'
|
@@ -64,6 +64,7 @@ module.exports = {
|
|
64
64
|
{
|
65
65
|
loader: "css-loader",
|
66
66
|
options: {
|
67
|
+
url: url => !url.startsWith('/'),
|
67
68
|
importLoaders: 1
|
68
69
|
}
|
69
70
|
},
|
@@ -75,7 +76,12 @@ module.exports = {
|
|
75
76
|
test: /\.(s[ac]|c)ss$/,
|
76
77
|
use: [
|
77
78
|
MiniCssExtractPlugin.loader,
|
78
|
-
|
79
|
+
{
|
80
|
+
loader: "css-loader",
|
81
|
+
options: {
|
82
|
+
url: url => !url.startsWith('/')
|
83
|
+
}
|
84
|
+
},
|
79
85
|
{
|
80
86
|
loader: "sass-loader",
|
81
87
|
options: {
|
@@ -90,13 +96,23 @@ module.exports = {
|
|
90
96
|
},
|
91
97
|
<% end %>
|
92
98
|
{
|
93
|
-
test: /\.woff2?$|\.ttf$|\.eot
|
99
|
+
test: /\.woff2?$|\.ttf$|\.eot$/,
|
94
100
|
loader: "file-loader",
|
95
101
|
options: {
|
102
|
+
name: "[name]-[contenthash].[ext]",
|
96
103
|
outputPath: "../fonts",
|
97
104
|
publicPath: "../fonts",
|
98
105
|
},
|
99
106
|
},
|
107
|
+
{
|
108
|
+
test: /\.png?$|\.gif$|\.jpg$|\.svg$/,
|
109
|
+
loader: "file-loader",
|
110
|
+
options: {
|
111
|
+
name: "[name]-[contenthash].[ext]",
|
112
|
+
outputPath: "../images",
|
113
|
+
publicPath: "../images",
|
114
|
+
},
|
115
|
+
},
|
100
116
|
],
|
101
117
|
},
|
102
118
|
};
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bridgetown-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bridgetown Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|