create-avalon 0.1.5 → 0.1.6
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/dist/cli.js +3 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1203,7 +1203,8 @@ function generatePackageJson(config) {
|
|
|
1203
1203
|
const devDependencies = {
|
|
1204
1204
|
vite: "latest",
|
|
1205
1205
|
typescript: "latest",
|
|
1206
|
-
nitro: "latest"
|
|
1206
|
+
nitro: "latest",
|
|
1207
|
+
"vite-imagetools": "latest"
|
|
1207
1208
|
};
|
|
1208
1209
|
switch (config.styling) {
|
|
1209
1210
|
case "tailwind":
|
|
@@ -1301,6 +1302,7 @@ function generateViteConfig(config) {
|
|
|
1301
1302
|
` integrations: [${integrationsList}],`,
|
|
1302
1303
|
` modules: 'app/modules',`,
|
|
1303
1304
|
` layoutsDir: 'app/shared/layouts',`,
|
|
1305
|
+
` image: true,`,
|
|
1304
1306
|
` nitro: {`,
|
|
1305
1307
|
` preset: 'node_server',`,
|
|
1306
1308
|
` streaming: true,`,
|