Skip to content

Commit

Permalink
docs: remove extract-loader (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait authored Jan 16, 2024
1 parent c82cfea commit e06fa80
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1023,14 +1023,8 @@ module.exports = {

### Export into HTML files

A very common scenario is exporting the HTML into their own _.html_ file, to
serve them directly instead of injecting with javascript. This can be achieved
with a combination of 2 loaders:

- [extract-loader](https://github.com/peerigon/extract-loader)
- html-loader

and [`asset modules`](https://webpack.js.org/guides/asset-modules/)
A very common scenario is exporting the HTML into their own _.html_ file, to serve them directly instead of injecting with javascript.
This can be achieved with a combination of html-loader and [`asset modules`](https://webpack.js.org/guides/asset-modules/).

The html-loader will parse the URLs, require the images and everything you
expect. The extract loader will parse the javascript back into a proper html
Expand Down

0 comments on commit e06fa80

Please sign in to comment.