bridgetown-core 0.19.2 → 0.19.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82771f9cc6fa2993f61010025de7fab09c2be37d9dfb3f365d728a6dd3ed5b3a
4
- data.tar.gz: ab1cfb7e45eac85bb80852b33ab4ca1f5cc69b52f6a1bde70ea1c70c39859005
3
+ metadata.gz: ad7d5025a99240586457a8afa4aa3e9a9aba0e289484ff855648bd772b89e7a9
4
+ data.tar.gz: 1ea0ad14dc78ca7465f7ff93bab6e178ec18b336e08641ac18bf75cf655b7246
5
5
  SHA512:
6
- metadata.gz: 67ea143f786bf6825f6db8ffa4ba1ce336e5d20e6746bbb24a754df40e0ba5084c3a5a04b0965f7ee080de67f2312b79d0251f34d76174fd55ca3ba379667928
7
- data.tar.gz: 2ad31567525e3b3633c4620088df104d2fe5ae65010ffadab04baa33982c960640430f16f13eeab6718c27ec2e66574e5aeeb30be90086ab2707a9f465e9d9c5
6
+ metadata.gz: 95b1542d9fa33741d18832a026aa43e720f99520b8367b12672e2689c7be19200e0cedd53b8070666c15e7594af43dec3c1885fa8570e6c7daf463afcae3405f
7
+ data.tar.gz: '00048d6aa2ca15728544ecbf46ee05b4b813630a03a0f35154b45096a2f9720ea645e23faac13fcab18a85e395fa6782eee522cbd39248b88b0f2a80a7fcff41'
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bridgetown
4
- VERSION = "0.19.2"
4
+ VERSION = "0.19.3"
5
5
  CODE_NAME = "Arbor Lodge"
6
6
  end
@@ -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
- "css-loader",
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$|\.svg$/,
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.2
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-05 00:00:00.000000000 Z
11
+ date: 2021-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport