Skip to content

Commit

Permalink
[FIX] HtmlWebpackPlugin template
Browse files Browse the repository at this point in the history
  • Loading branch information
ederssouza committed Sep 23, 2018
1 parent 60459b5 commit ded0922
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ formValidate.init()

### Full example

[Click here](https://ederssouza.github.io/vanillajs-form-validator/samples/full.html) to view demo.
[Click here](https://ederssouza.github.io/vanillajs-form-validator/samples) to view demo.

```javascript
var form = document.getElementById('form')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vanillajs-form-validator",
"version": "1.0.6",
"version": "1.0.7",
"description": "Form validation in pure JavaScript.",
"main": "./src/index.js",
"scripts": {
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions webpack/dev.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ module.exports = {
plugins: common.plugins.concat(
new HtmlWebpackPlugin({
filename: 'index.html',
template: './index.html',
template: './samples/index.html',
inject: false
})
),

devServer: {
contentBase: path.join(__dirname, '../'),
contentBase: path.join(__dirname, '../', 'samples'),
compress: true,
watchContentBase: true,
port: 3000
Expand Down

0 comments on commit ded0922

Please sign in to comment.