diff --git a/templates/remix/package.json b/templates/remix/package.json index eae4f571d9e..b79f377eec7 100644 --- a/templates/remix/package.json +++ b/templates/remix/package.json @@ -1,6 +1,7 @@ { "private": true, "sideEffects": false, + "type": "module", "scripts": { "build": "remix build", "dev": "remix dev", diff --git a/templates/remix/remix.config.js b/templates/remix/remix.config.js index e5bd9f91122..bb5f6cdf99d 100644 --- a/templates/remix/remix.config.js +++ b/templates/remix/remix.config.js @@ -1,9 +1,8 @@ /** @type {import('@remix-run/dev').AppConfig} */ -module.exports = { +export default { ignoredRouteFiles: ["**/.*"], // appDirectory: "app", // assetsBuildDirectory: "public/build", // serverBuildPath: "build/index.js", // publicPath: "/build/", - serverModuleFormat: "cjs", };