Skip to content

Commit 6b518b3

Browse files
authored
Merge branch 'main' into erral-sponsorship-levels
2 parents 6eba38b + 6416cc0 commit 6b518b3

4 files changed

Lines changed: 26 additions & 166 deletions

File tree

.well-known/funding-manifest-urls

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## 1.0.22 (unreleased)
22

3+
- Fix collection of dot-directories like .well-known in frontend for funding-manifest-urls (Fixes #222) [fredvd]
34
- Add new sponsorship level
45

56

frontend/razzle.extend.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
const plugins = (defaultPlugins) => {
2+
return defaultPlugins;
3+
};
4+
const modify = (config, { target, dev }, webpack) => {
5+
const themeConfigPath = `${__dirname}/theme/theme.config`;
6+
config.resolve.alias['../../theme.config$'] = themeConfigPath;
7+
config.resolve.alias['../../theme.config'] = themeConfigPath;
8+
9+
// Make sure files in public/.well-known are copied
10+
const copyPlugin = config.plugins.find(
11+
(plugin) => plugin.constructor.name === 'CopyPlugin',
12+
);
13+
if (copyPlugin !== undefined) {
14+
copyPlugin.patterns.push({
15+
...copyPlugin.patterns[0],
16+
from: copyPlugin.patterns[0].from.replace('/**/', '/.well-known/'),
17+
});
18+
}
19+
return config;
20+
};
21+
22+
module.exports = {
23+
plugins,
24+
modify,
25+
};

funding.json

Lines changed: 0 additions & 165 deletions
This file was deleted.

0 commit comments

Comments
 (0)