@caweb/html-webpack-plugin 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
This plugin utilizes the HTML Webpack Plugin to launch static generated pages using the CAWebPublishing Template (formerly the California State Template)
|
|
2
|
+
|
|
3
|
+
<i>This package is inspired by [wp-scripts](https://www.npmjs.com/package/@wordpress/scripts)</i>
|
|
4
|
+
|
|
5
|
+
## Plugins Used
|
|
6
|
+
- [html-webpack-plugin](https://www.npmjs.com/package/html-webpack-plugin)
|
|
7
|
+
|
|
8
|
+
## Installation
|
|
9
|
+
<pre>npm install --save-dev @caweb/html-webpack-plugin</pre>
|
|
10
|
+
|
|
11
|
+
## Get Started
|
|
12
|
+
In your Webpack configuration simply add the plugin to your existing plugin array.
|
|
13
|
+
|
|
14
|
+
<pre>
|
|
15
|
+
import CAWebHTMLPlugin from '@caweb/html-webpack-plugin';
|
|
16
|
+
|
|
17
|
+
export default {
|
|
18
|
+
plugins: [
|
|
19
|
+
new CAWebHTMLPlugin()
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
</pre>
|
|
23
|
+
|
|
24
|
+
## Options
|