Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f336460

Browse files
furkleEugeneHlushko
furkle
authored andcommitted
Fix URL errors in src/content/concepts/loaders.mdx and pull request template (#3007)
1 parent 8bd092d commit f336460

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎.github/PULL_REQUEST_TEMPLATE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ _describe your changes..._
77

88

99
[1]: https://cla.js.foundation/webpack/webpack.js.org
10-
[2]: https://webpack.js.org/writers-guide/
10+
[2]: https://webpack.js.org/contribute/writers-guide/

‎src/content/concepts/loaders.mdx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ contributors:
1414
- EugeneHlushko
1515
- wizardofhogwarts
1616
- lukasgeiter
17+
- furkle
1718
---
1819

1920
Loaders are transformations that are applied on the source code of a module. They allow you to pre-process files as you `import` or "load" them. Thus, loaders are kind of like "tasks" in other build tools and provide a powerful way to handle front-end build steps. Loaders can transform files from a different language (like TypeScript) to JavaScript or inline images as data URLs. Loaders even allow you to do things like `import` CSS files directly from your JavaScript modules!
@@ -148,4 +149,4 @@ functions (loaders). Users now have more flexibility to include fine-grained log
148149

149150
Loaders follow the standard [module resolution](/concepts/module-resolution/). In most cases it will be loaded from the [module path](/concepts/module-resolution/#module-paths) (think `npm install`, `node_modules`).
150151

151-
A loader module is expected to export a function and be written in Node.js compatible JavaScript. They are most commonly managed with npm, but you can also have custom loaders as files within your application. By convention, loaders are usually named `xxx-loader` (e.g. `json-loader`). See ["Writing a Loader"](/contribute/writing-a-loader/) for more information.
152+
A loader module is expected to export a function and be written in Node.js compatible JavaScript. They are most commonly managed with npm, but you can also have custom loaders as files within your application. By convention, loaders are usually named `xxx-loader` (e.g. `json-loader`). See ["Writing a Loader"](/contribute/writing-a-loader/) for more information.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /