Skip to content
Closed
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
5207473
Add style-loader
jamiebenstead Mar 19, 2026
f272948
Prevent css-loader from rewriting external URLs
jamiebenstead Mar 19, 2026
92990dd
SPIKE: Fix console warnings when loading UI (#1386)
abcampo-iry Mar 18, 2026
446ab79
Bump version to v0.34.10 (#1391)
mwtrew Mar 18, 2026
12ab784
New translations en.json (French)
raspberrypitranslationsbot Mar 17, 2026
60a38d6
New translations en.json (Greek)
raspberrypitranslationsbot Mar 17, 2026
2dc02ef
New translations en.json (Dutch)
raspberrypitranslationsbot Mar 17, 2026
6228ac8
New translations en.json (Ukrainian)
raspberrypitranslationsbot Mar 17, 2026
113afdf
New translations en.json (Spanish, Latin America)
raspberrypitranslationsbot Mar 17, 2026
1b7289c
New translations en.json (French)
raspberrypitranslationsbot Mar 18, 2026
6bb870a
New translations en.json (Greek)
raspberrypitranslationsbot Mar 18, 2026
739605e
New translations en.json (Japanese)
raspberrypitranslationsbot Mar 18, 2026
cd7612b
New translations en.json (Dutch)
raspberrypitranslationsbot Mar 18, 2026
3f6912e
New translations en.json (Ukrainian)
raspberrypitranslationsbot Mar 18, 2026
148deed
New translations en.json (English, United States)
raspberrypitranslationsbot Mar 18, 2026
468a28b
New translations en.json (Spanish, Latin America)
raspberrypitranslationsbot Mar 18, 2026
55a464a
Bump undici from 5.28.4 to 5.29.0
dependabot[bot] Mar 13, 2026
c43f1a8
Update scratch version to 13 (#1389)
abcampo-iry Mar 19, 2026
922af3d
Merge branch 'main' into 1243-fix-font-file-console-warning
jamiebenstead Mar 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ if (!publicUrl.endsWith("/")) {
const scratchStaticDir = path.resolve(
__dirname,
"node_modules/@scratch/scratch-gui/dist/static",
)
);

const scratchChunkDir = path.resolve(
__dirname,
"node_modules/@scratch/scratch-gui/dist/chunks",
)
);

module.exports = {
entry: {
Expand All @@ -35,7 +35,17 @@ module.exports = {
},
{
test: /\.css$/,
use: ["css-loader"],
use: [
"style-loader",
Comment on lines 37 to +39
{
loader: "css-loader",
options: {
url: {
filter: (url) => !/^(https?:)?\/\//.test(url),
},
},
},
],
},
{
test: /\.s[ac]ss$/i,
Expand Down Expand Up @@ -133,7 +143,7 @@ module.exports = {
{
directory: scratchChunkDir,
publicPath: `${publicUrl}scratch-gui/chunks`,
}
},
],
headers: {
"Access-Control-Allow-Origin": "*",
Expand Down
Loading