-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathremix.config.dev.js
More file actions
78 lines (78 loc) · 1.88 KB
/
remix.config.dev.js
File metadata and controls
78 lines (78 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/** @type {import('@remix-run/dev').AppConfig} */
module.exports = {
publicPath: '/myst_assets_folder/',
serverBuildPath: 'api/index.js',
serverMainFields: ['main', 'module'],
serverModuleFormat: 'cjs',
serverPlatform: 'node',
serverMinify: false,
// When running locally in development mode, we use the built in remix
// server. This does not understand the vercel lambda module format,
// so we default back to the standard build output.
server: process.env.NODE_ENV === 'development' ? undefined : './server.js',
ignoredRouteFiles: ['**/.*'],
serverDependenciesToBundle: [
/^rehype.*/,
/^remark.*/,
/^unified.*/,
/^unist.*/,
/^hast.*/,
/^mdast.*/,
/^micromark.*/,
/^csv-parse.*/,
'html-whitespace-sensitive-tag-names',
'html-void-elements',
'property-information',
'array-iterate',
'stringify-entities',
'comma-separated-tokens',
'trim-trailing-lines',
'escape-string-regexp',
'ccount',
'web-namespaces',
'space-separated-tokens',
'character-entities-legacy',
'character-entities-html4',
'trim-lines',
'bail',
'is-plain-obj',
'trough',
'zwitch',
'nanoid',
/^vfile.*/,
/^myst-.*/,
'markdown-it-myst',
'simple-validators',
'doi-utils',
'orcid',
'credit-roles',
'tex-to-typst',
'jats-tags',
/^@myst-theme\/.*/,
/react-syntax-highlighter.*/,
'markdown-it-myst-extras',
'markdown-it-dollarmath',
'markdown-it-amsmath',
'swr',
'swr/immutable',
'devlop',
'@curvenote/ansi-to-react',
'jats-utils',
'react-merge-refs',
'lucide-react',
],
watchPaths: ['../../packages/**/*'],
future: {
v2_dev: true,
v2_routeConvention: true,
v2_normalizeFormMethod: true,
v2_headers: true,
v2_meta: true,
v2_errorBoundary: true,
},
resolve: {
alias: {
'~/*': ['./app/*'],
},
},
};