mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2025-01-05 21:23:04 +03:00
Prevent vite warning message.
This commit is contained in:
parent
72fdeb9a52
commit
2396724f6a
65
examples/docs/package-lock.json
generated
65
examples/docs/package-lock.json
generated
@ -24,32 +24,33 @@
|
||||
}
|
||||
},
|
||||
"../..": {
|
||||
"version": "3.0.0-beta.33",
|
||||
"name": "elm-pages",
|
||||
"version": "3.0.0-beta.36",
|
||||
"dev": true,
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"busboy": "^1.6.0",
|
||||
"chokidar": "^3.5.3",
|
||||
"commander": "^10.0.0",
|
||||
"commander": "^10.0.1",
|
||||
"connect": "^3.7.0",
|
||||
"cookie-signature": "^1.2.1",
|
||||
"cross-spawn": "7.0.3",
|
||||
"devcert": "^1.2.2",
|
||||
"elm-doc-preview": "^5.0.5",
|
||||
"elm-hot": "^1.1.6",
|
||||
"esbuild": "^0.17.12",
|
||||
"esbuild": "^0.17.18",
|
||||
"fs-extra": "^11.1.1",
|
||||
"globby": "13.1.3",
|
||||
"globby": "13.1.4",
|
||||
"gray-matter": "^4.0.3",
|
||||
"jsesc": "^3.0.2",
|
||||
"kleur": "^4.1.5",
|
||||
"make-fetch-happen": "^11.0.3",
|
||||
"memfs": "^3.4.13",
|
||||
"make-fetch-happen": "^11.1.1",
|
||||
"memfs": "^3.5.1",
|
||||
"micromatch": "^4.0.5",
|
||||
"serve-static": "^1.15.0",
|
||||
"terser": "^5.16.8",
|
||||
"vite": "^4.2.1",
|
||||
"which": "^3.0.0"
|
||||
"terser": "^5.17.1",
|
||||
"vite": "^4.3.5",
|
||||
"which": "^3.0.1"
|
||||
},
|
||||
"bin": {
|
||||
"elm-pages": "generator/src/cli.js"
|
||||
@ -59,19 +60,19 @@
|
||||
"@types/fs-extra": "^11.0.1",
|
||||
"@types/make-fetch-happen": "^10.0.1",
|
||||
"@types/micromatch": "^4.0.2",
|
||||
"@types/node": "^18.15.7",
|
||||
"@types/node": "^20.1.0",
|
||||
"@types/serve-static": "^1.15.1",
|
||||
"cypress": "^12.8.1",
|
||||
"cypress": "^12.11.0",
|
||||
"elm-codegen": "^0.3.0",
|
||||
"elm-optimize-level-2": "^0.3.5",
|
||||
"elm-review": "^2.9.2",
|
||||
"elm-test": "^0.19.1-revision11",
|
||||
"elm-tooling": "^1.13.1",
|
||||
"elm-review": "^2.10.2",
|
||||
"elm-test": "^0.19.1-revision12",
|
||||
"elm-tooling": "^1.14.0",
|
||||
"elm-verify-examples": "^5.2.0",
|
||||
"elmi-to-json": "^1.4.3",
|
||||
"typescript": "^5.0.2",
|
||||
"vite": "^4.2.1",
|
||||
"vitest": "^0.29.7"
|
||||
"typescript": "^5.0.4",
|
||||
"vite": "^4.3.5",
|
||||
"vitest": "^0.31.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@sindresorhus/is": {
|
||||
@ -3350,40 +3351,40 @@
|
||||
"@types/fs-extra": "^11.0.1",
|
||||
"@types/make-fetch-happen": "^10.0.1",
|
||||
"@types/micromatch": "^4.0.2",
|
||||
"@types/node": "^18.15.7",
|
||||
"@types/node": "^20.1.0",
|
||||
"@types/serve-static": "^1.15.1",
|
||||
"busboy": "^1.6.0",
|
||||
"chokidar": "^3.5.3",
|
||||
"commander": "^10.0.0",
|
||||
"commander": "^10.0.1",
|
||||
"connect": "^3.7.0",
|
||||
"cookie-signature": "^1.2.1",
|
||||
"cross-spawn": "7.0.3",
|
||||
"cypress": "^12.8.1",
|
||||
"cypress": "^12.11.0",
|
||||
"devcert": "^1.2.2",
|
||||
"elm-codegen": "^0.3.0",
|
||||
"elm-doc-preview": "^5.0.5",
|
||||
"elm-hot": "^1.1.6",
|
||||
"elm-optimize-level-2": "^0.3.5",
|
||||
"elm-review": "^2.9.2",
|
||||
"elm-test": "^0.19.1-revision11",
|
||||
"elm-tooling": "^1.13.1",
|
||||
"elm-review": "^2.10.2",
|
||||
"elm-test": "^0.19.1-revision12",
|
||||
"elm-tooling": "^1.14.0",
|
||||
"elm-verify-examples": "^5.2.0",
|
||||
"elmi-to-json": "^1.4.3",
|
||||
"esbuild": "^0.17.12",
|
||||
"esbuild": "^0.17.18",
|
||||
"fs-extra": "^11.1.1",
|
||||
"globby": "13.1.3",
|
||||
"globby": "13.1.4",
|
||||
"gray-matter": "^4.0.3",
|
||||
"jsesc": "^3.0.2",
|
||||
"kleur": "^4.1.5",
|
||||
"make-fetch-happen": "^11.0.3",
|
||||
"memfs": "^3.4.13",
|
||||
"make-fetch-happen": "^11.1.1",
|
||||
"memfs": "^3.5.1",
|
||||
"micromatch": "^4.0.5",
|
||||
"serve-static": "^1.15.0",
|
||||
"terser": "^5.16.8",
|
||||
"typescript": "^5.0.2",
|
||||
"vite": "^4.2.1",
|
||||
"vitest": "^0.29.7",
|
||||
"which": "^3.0.0"
|
||||
"terser": "^5.17.1",
|
||||
"typescript": "^5.0.4",
|
||||
"vite": "^4.3.5",
|
||||
"vitest": "^0.31.0",
|
||||
"which": "^3.0.1"
|
||||
}
|
||||
},
|
||||
"elm-review": {
|
||||
|
@ -96,6 +96,9 @@ export async function run(options) {
|
||||
input: "elm-stuff/elm-pages/index.html",
|
||||
},
|
||||
},
|
||||
optimizeDeps: {
|
||||
include: [],
|
||||
},
|
||||
},
|
||||
config.vite || {}
|
||||
);
|
||||
|
@ -173,6 +173,13 @@ export async function start(options) {
|
||||
configFile: false,
|
||||
root: process.cwd(),
|
||||
base: options.base,
|
||||
/*
|
||||
Using explicit optimizeDeps.include prevents the following Vite warning message:
|
||||
(!) Could not auto-determine entry point from rollupOptions or html files and there are no explicit optimizeDeps.include patterns. Skipping dependency pre-bundling.
|
||||
*/
|
||||
optimizeDeps: {
|
||||
include: [],
|
||||
},
|
||||
},
|
||||
|
||||
config.vite
|
||||
|
Loading…
Reference in New Issue
Block a user