mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-01-31 07:16:17 +00:00
Fix deprecation notice from rollup-plugin-replace
This commit is contained in:
parent
0cee442b92
commit
74b9de01ab
@ -10,7 +10,12 @@ const svg = require('rollup-plugin-react-svg');
|
||||
const { terser } = require('rollup-plugin-terser');
|
||||
|
||||
const plugins = [
|
||||
replace({ 'process.env.NODE_ENV': '"production"' }),
|
||||
replace({
|
||||
preventAssignment: true,
|
||||
values: {
|
||||
'process.env.NODE_ENV': '"production"',
|
||||
},
|
||||
}),
|
||||
alias({
|
||||
entries: [
|
||||
{ find: 'react', replacement: 'preact/compat' },
|
||||
|
Loading…
x
Reference in New Issue
Block a user