Skip to content

Commit 4d2a935

Browse files
authored
Merge pull request #2469 from github/dependabot/npm_and_yarn/extensions/ql-vscode/css-loader-6.8.1
Bump css-loader from 3.1.0 to 6.8.1 in /extensions/ql-vscode
2 parents 286018c + d2df162 commit 4d2a935

File tree

3 files changed

+258
-45
lines changed

3 files changed

+258
-45
lines changed

extensions/ql-vscode/gulpfile.ts/webpack.config.ts

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,10 @@ export const config: webpack.Configuration = {
6262
},
6363
{
6464
test: /\.(woff(2)?|ttf|eot)$/,
65-
use: [
66-
{
67-
loader: "file-loader",
68-
options: {
69-
name: "[name].[ext]",
70-
outputPath: "fonts/",
71-
// We need this to make Webpack use the correct path for the fonts.
72-
// Without this, the CSS file will use `url([object Module])`
73-
esModule: false,
74-
},
75-
},
76-
],
65+
type: "asset/resource",
66+
generator: {
67+
filename: "fonts/[hash][ext][query]",
68+
},
7769
},
7870
],
7971
},

extensions/ql-vscode/package-lock.json

Lines changed: 253 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/ql-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1746,7 +1746,7 @@
17461746
"ansi-colors": "^4.1.1",
17471747
"applicationinsights": "^2.3.5",
17481748
"cross-env": "^7.0.3",
1749-
"css-loader": "~3.1.0",
1749+
"css-loader": "~6.8.1",
17501750
"del": "^6.0.0",
17511751
"esbuild": "^0.15.15",
17521752
"eslint": "^8.23.1",

0 commit comments

Comments
 (0)