Skip to content

Commit

Permalink
feat: 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lubomirblazekcz committed Nov 17, 2023
1 parent 3b91629 commit fb81c53
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const plugin = (options = {}) => {
},
transformIndexHtml: {
order: 'pre',
async transform (content, { path, filename, server }) {
async handler (content, { path, filename, server }) {
return pluginTransform(content, { path, filename, server }, { name, options, resolvedConfig, renderTemplate })
}
},
Expand Down
21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vituum/vite-plugin-twig",
"version": "1.0.0",
"version": "1.1.0",
"type": "module",
"main": "index.js",
"types": "types/index.d.ts",
Expand All @@ -9,16 +9,16 @@
"eslint": "eslint '**/*.js' --fix"
},
"dependencies": {
"vituum": "^1.0.0",
"twig": "^1.16.0",
"lodash": "^4.17.21"
"vituum": "^1.1",
"twig": "^1.17",
"lodash": "^4.17"
},
"devDependencies": {
"@types/node": "^20.3.2",
"@types/twig": "^1.12.9",
"typescript": "^5.1.3",
"vite": "^4.3.9",
"eslint": "^8.43.0",
"@types/node": "^20.9.1",
"@types/twig": "^1.12.15",
"typescript": "^5.2.2",
"vite": "^5.0.0",
"eslint": "^8.53.0",
"eslint-config-standard": "^17.1.0"
},
"files": [
Expand All @@ -30,8 +30,7 @@
"./types": "./types/*"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=9.0.0"
"node": "^18.0.0 || >=20.0.0"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit fb81c53

Please sign in to comment.