You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/loaders/index.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ contributors:
6
6
- bajras
7
7
- rhys-vdw
8
8
- EugeneHlushko
9
+
- hemal7735
9
10
---
10
11
11
12
webpack enables use of [loaders](/concepts/loaders) to preprocess files. This allows you to bundle any static resource way beyond JavaScript. You can easily write your own loaders using Node.js.
@@ -26,15 +27,15 @@ Loaders are activated by using `loadername!` prefixes in `require()` statements,
26
27
27
28
-[`json-loader`](/loaders/json-loader) Loads a [JSON](http://json.org/) file (included by default)
28
29
-[`json5-loader`](/loaders/json5-loader) Loads and transpiles a [JSON 5](https://json5.org/) file
29
-
-`cson-loader` Loads and transpiles a [CSON](https://github.com/bevry/cson#what-is-cson) file
30
+
-[`cson-loader`](https://github.com/awnist/cson-loader) Loads and transpiles a [CSON](https://github.com/bevry/cson#what-is-cson) file
30
31
31
32
32
33
## Transpiling
33
34
34
35
-[`script-loader`](/loaders/script-loader) Executes a JavaScript file once in global context (like in script tag), requires are not parsed
35
36
-[`babel-loader`](/loaders/babel-loader) Loads ES2015+ code and transpiles to ES5 using [Babel](https://babeljs.io/)
36
-
-`buble-loader` Loads ES2015+ code and transpiles to ES5 using [Bublé](https://buble.surge.sh/guide/)
37
-
-`traceur-loader` Loads ES2015+ code and transpiles to ES5 using [Traceur](https://github.com/google/traceur-compiler#readme)
37
+
-[`buble-loader`](https://github.com/sairion/buble-loader) Loads ES2015+ code and transpiles to ES5 using [Bublé](https://buble.surge.sh/guide/)
38
+
-[`traceur-loader`](https://github.com/jupl/traceur-loader) Loads ES2015+ code and transpiles to ES5 using [Traceur](https://github.com/google/traceur-compiler#readme)
38
39
-[`ts-loader`](https://github.com/TypeStrong/ts-loader) or [`awesome-typescript-loader`](https://github.com/s-panferov/awesome-typescript-loader) Loads [TypeScript](https://www.typescriptlang.org/) 2.0+ like JavaScript
39
40
-[`coffee-loader`](/loaders/coffee-loader) Loads [CoffeeScript](http://coffeescript.org/) like JavaScript
40
41
-[`fengari-loader`](https://github.com/fengari-lua/fengari-loader/) Loads Lua code using [fengari](https://fengari.io/)
@@ -43,12 +44,11 @@ Loaders are activated by using `loadername!` prefixes in `require()` statements,
43
44
## Templating
44
45
45
46
-[`html-loader`](/loaders/html-loader) Exports HTML as string, require references to static resources
46
-
-`pug-loader` Loads Pug templates and returns a function
47
-
-`jade-loader` Loads Jade templates and returns a function
48
-
-`markdown-loader` Compiles Markdown to HTML
47
+
-[`pug-loader`](https://github.com/pugjs/pug-loader) Loads Pug and Jade templates and returns a function
48
+
-[`markdown-loader`](https://github.com/peerigon/markdown-loader) Compiles Markdown to HTML
49
49
-[`react-markdown-loader`](https://github.com/javiercf/react-markdown-loader) Compiles Markdown to a React Component using the markdown-parse parser
50
-
-`posthtml-loader` Loads and transforms a HTML file using [PostHTML](https://github.com/posthtml/posthtml)
51
-
-`handlebars-loader` Compiles Handlebars to HTML
50
+
-[`posthtml-loader`](https://github.com/posthtml/posthtml-loader) Loads and transforms a HTML file using [PostHTML](https://github.com/posthtml/posthtml)
51
+
-[`handlebars-loader`](https://github.com/pcardune/handlebars-loader) Compiles Handlebars to HTML
52
52
-[`markup-inline-loader`](https://github.com/asnowwolf/markup-inline-loader) Inline SVG/MathML files to HTML. It’s useful when applying icon font or applying CSS animation to SVG.
53
53
-[`twig-loader`](https://github.com/zimmo-be/twig-loader) Compiles Twig templates and returns a function
54
54
@@ -59,23 +59,23 @@ Loaders are activated by using `loadername!` prefixes in `require()` statements,
59
59
-[`less-loader`](/loaders/less-loader) Loads and compiles a LESS file
60
60
-[`sass-loader`](/loaders/sass-loader) Loads and compiles a SASS/SCSS file
61
61
-[`postcss-loader`](/loaders/postcss-loader) Loads and transforms a CSS/SSS file using [PostCSS](http://postcss.org)
62
-
-`stylus-loader` Loads and compiles a Stylus file
62
+
-[`stylus-loader`](https://github.com/shama/stylus-loader) Loads and compiles a Stylus file
63
63
64
64
65
65
## Linting && Testing
66
66
67
67
-[`mocha-loader`](/loaders/mocha-loader) Tests with [mocha](https://mochajs.org/) (Browser/NodeJS)
68
68
-[`eslint-loader`](https://github.com/webpack-contrib/eslint-loader) PreLoader for linting code using [ESLint](https://eslint.org/)
69
69
-[`jshint-loader`](/loaders/jshint-loader) PreLoader for linting code using [JSHint](http://jshint.com/about/)
70
-
-`jscs-loader` PreLoader for code style checking using [JSCS](http://jscs.info/)
70
+
-[`jscs-loader`](https://github.com/unindented/jscs-loader) PreLoader for code style checking using [JSCS](http://jscs.info/)
71
71
-[`coverjs-loader`](/loaders/coverjs-loader) PreLoader to determine the testing coverage using [CoverJS](https://github.com/arian/CoverJS)
72
72
73
73
74
74
## Frameworks
75
75
76
-
-`vue-loader` Loads and compiles [Vue Components](https://vuejs.org/v2/guide/components.html)
77
-
-`polymer-loader` Process HTML & CSS with preprocessor of choice and `require()` Web Components like first-class modules
78
-
-`angular2-template-loader` Loads and compiles [Angular](https://angular.io/) Components
76
+
-[`vue-loader`](https://github.com/vuejs/vue-loader) Loads and compiles [Vue Components](https://vuejs.org/v2/guide/components.html)
77
+
-[`polymer-loader`](https://github.com/webpack-contrib/polymer-webpack-loader) Process HTML & CSS with preprocessor of choice and `require()` Web Components like first-class modules
78
+
-[`angular2-template-loader`](https://github.com/TheLarkInn/angular2-template-loader) Loads and compiles [Angular](https://angular.io/) Components
0 commit comments