Fix remix dev warnings (#2277)

## Description

1. What is this PR about (link the issue and add a short description)

## Steps for reproduction

1. click button
2. expect xyz

## Code Review

- [ ] hi @kof, I need you to do
  - conceptual review (architecture, feature-correctness)
  - detailed review (read every line)
  - test it on preview

## Before requesting a review

- [ ] made a self-review
- [ ] added inline comments where things may be not obvious (the "why",
not "what")

## Before merging

- [ ] tested locally and on preview environment (preview dev login:
5de6)
- [ ] updated [test
cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md)
document
- [ ] added tests
- [ ] if any new env variables are added, added them to `.env.example`
and the `builder/env-check.js` if mandatory
This commit is contained in:
Ivan Starkov authored and GitHub committed 2023-09-07 23:57:16 +03:00
1 parent b564edc85f
commit 08cbed3fcd
3 files changed
+7 -1

No files matched your search

@@ -7,6 +7,8 @@ module.exports = {
"nanoevents",
"nanostores",
"@nanostores/react",
"nanoid",
"@jsep-plugin/assignment",
],
future: {
v2_errorBoundary: true,
@@ -14,5 +16,6 @@ module.exports = {
v2_meta: true,
v2_normalizeFormMethod: true,
v2_routeConvention: true,
v2_dev: true,
},
};
+1 -1
View File
@@ -21,7 +21,7 @@ export const templates: Record<ProjectTarget, Folder> = {
{
name: "remix.config.js",
content:
'/** @type {import(\'@remix-run/dev\').AppConfig} */\nmodule.exports = {\n ignoredRouteFiles: ["**/.*"],\n serverModuleFormat: "cjs",\n serverDependenciesToBundle: [\n /@webstudio-is\\/(?!prisma-client)/,\n "nanoevents",\n "nanostores",\n "@nanostores/react",\n ],\n future: {\n v2_errorBoundary: true,\n v2_headers: true,\n v2_meta: true,\n v2_normalizeFormMethod: true,\n v2_routeConvention: true,\n },\n};\n',
'/** @type {import(\'@remix-run/dev\').AppConfig} */\nmodule.exports = {\n ignoredRouteFiles: ["**/.*"],\n serverModuleFormat: "cjs",\n serverDependenciesToBundle: [\n /@webstudio-is\\/(?!prisma-client)/,\n "nanoevents",\n "nanostores",\n "@nanostores/react",\n "nanoid",\n "@jsep-plugin/assignment",\n ],\n future: {\n v2_errorBoundary: true,\n v2_headers: true,\n v2_meta: true,\n v2_normalizeFormMethod: true,\n v2_routeConvention: true,\n v2_dev: true,\n },\n};\n',
encoding: "utf-8",
merge: false,
},
@@ -7,6 +7,8 @@ module.exports = {
"nanoevents",
"nanostores",
"@nanostores/react",
"nanoid",
"@jsep-plugin/assignment",
],
future: {
v2_errorBoundary: true,
@@ -14,5 +16,6 @@ module.exports = {
v2_meta: true,
v2_normalizeFormMethod: true,
v2_routeConvention: true,
v2_dev: true,
},
};