mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Add workaround for vite auto-replacement in docs (#6284)
This commit is contained in:
committed by
GitHub
parent
f896e08a7c
commit
4f9ae6591e
@@ -121,6 +121,7 @@ export default {
|
||||
nodeResolve(),
|
||||
commonjs(),
|
||||
replace({
|
||||
'process\u200b.env.NODE_ENV': JSON.stringify('production'),
|
||||
preventAssignment: true,
|
||||
}),
|
||||
terser(),
|
||||
|
||||
@@ -112,6 +112,7 @@ export default {
|
||||
nodeResolve(),
|
||||
commonjs(),
|
||||
replace({
|
||||
'process\u200b.env.NODE_ENV': JSON.stringify('production'),
|
||||
preventAssignment: true,
|
||||
}),
|
||||
terser(),
|
||||
|
||||
@@ -154,6 +154,7 @@ export default {
|
||||
nodeResolve(),
|
||||
commonjs(),
|
||||
replace({
|
||||
'process\u200b.env.NODE_ENV': JSON.stringify('production'),
|
||||
preventAssignment: true,
|
||||
}),
|
||||
terser(),
|
||||
|
||||
@@ -154,6 +154,7 @@ export default {
|
||||
nodeResolve(),
|
||||
commonjs(),
|
||||
replace({
|
||||
'process\u200b.env.NODE_ENV': JSON.stringify('production'),
|
||||
preventAssignment: true,
|
||||
}),
|
||||
terser(),
|
||||
|
||||
Reference in New Issue
Block a user