File tree Expand file tree Collapse file tree 2 files changed +20
-12
lines changed Expand file tree Collapse file tree 2 files changed +20
-12
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ export default defineConfig({
2424 base : config . site . base_path ? config . site . base_path : "/" ,
2525 trailingSlash : config . site . trailing_slash ? "always" : "ignore" ,
2626 output : "static" ,
27+ build : {
28+ format : 'directory' ,
29+ assets : '_assets' ,
30+ } ,
2731 i18n : {
2832 locales : filteredSupportedLang ,
2933 defaultLocale : default_language ,
@@ -70,9 +74,14 @@ export default defineConfig({
7074 build : {
7175 sourcemap : false ,
7276 minify : true ,
77+ rollupOptions : {
78+ output : {
79+ manualChunks : undefined ,
80+ } ,
81+ } ,
7382 } ,
74- ssr : {
75- noExternal : [ '@astrojs/* ' ] ,
83+ optimizeDeps : {
84+ exclude : [ '@astrojs/mdx ' ] ,
7685 } ,
7786 } ,
7887} ) ;
Original file line number Diff line number Diff line change 11[build ]
22publish = " dist"
3- command = " yarn install && yarn generate-json && yarn build"
3+ command = " yarn install --frozen-lockfile && yarn generate-json && yarn build"
44
55[build .environment ]
66NODE_VERSION = " 20"
7- DEBUG = " *"
87NODE_ENV = " production"
98YARN_FLAGS = " --frozen-lockfile"
109
11- [[plugins ]]
12- package = " @netlify/plugin-functions-core"
13- [plugins .inputs ]
14- functionsDirectory = " netlify/functions"
15-
16- [functions ]
17- node_bundler = " esbuild"
18-
1910[[redirects ]]
2011from = " /*"
2112to = " /index.html"
2213status = 200
14+
15+ [[headers ]]
16+ for = " /*"
17+ [headers .values ]
18+ X-Frame-Options = " DENY"
19+ X-XSS-Protection = " 1; mode=block"
20+ X-Content-Type-Options = " nosniff"
21+ Referrer-Policy = " strict-origin-when-cross-origin"
You can’t perform that action at this time.
0 commit comments