Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterekjs/html-config-webpack-plugin
Webpack plugin to compile html files
https://github.com/peterekjs/html-config-webpack-plugin
Last synced: 29 days ago
JSON representation
Webpack plugin to compile html files
- Host: GitHub
- URL: https://github.com/peterekjs/html-config-webpack-plugin
- Owner: peterekjs
- Created: 2020-04-01T17:53:13.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T18:14:42.000Z (about 2 years ago)
- Last Synced: 2024-11-13T23:22:36.620Z (3 months ago)
- Language: JavaScript
- Size: 572 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# html-config-webpack-plugin
Webpack configuration plugin for html compilation1. Template files specified by `.tpl.html` can be imported into script modules as string
1. Any other html files will be compiled into output directory. Attribute values (src, href) are not processed.## Installation
```bash
npm i -D @peterek/html-config-webpack-plugin
```## Application
```js
const HtmlConfigWebpackPlugin = require('@peterek/html-config-webpack-plugin')module.exports = {
plugins: [
new HtmlConfigWebpackPlugin()
]
}```