Skip to content

Commit ccdfa5f

Browse files
committed
feat(11ty): use npm scripts instead of eleventy command
1 parent 3cb1cc2 commit ccdfa5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/static/runners.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ M.runners = {
1818
eleventy = {
1919
file = 'eleventy.config.js',
2020
path = vim.fn.getcwd(),
21-
build = 'npx @11ty/eleventy',
22-
serve = 'npx @11ty/eleventy --serve',
21+
build = 'npm run build',
22+
serve = 'npm run start',
2323
prod = nil,
2424
},
2525
nextjs = {

0 commit comments

Comments
 (0)