interface: removing react-refresh from babel config

This commit is contained in:
Hunter Miller 2022-03-15 10:35:03 -05:00
parent 0d290223b7
commit 466e4522e7
2 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,6 @@ module.exports = {
'@babel/transform-runtime', '@babel/transform-runtime',
'@babel/plugin-proposal-object-rest-spread', '@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-proposal-optional-chaining', '@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-class-properties', '@babel/plugin-proposal-class-properties'
process.env.NODE_ENV !== 'production' && 'react-refresh/babel'
] ]
}; };

View File

@ -107,7 +107,7 @@ module.exports = {
new webpack.DefinePlugin({ new webpack.DefinePlugin({
'process.env.LANDSCAPE_SHORTHASH': JSON.stringify(GIT_DESC), 'process.env.LANDSCAPE_SHORTHASH': JSON.stringify(GIT_DESC),
'process.env.LANDSCAPE_STORAGE_VERSION': JSON.stringify(Date.now()), 'process.env.LANDSCAPE_STORAGE_VERSION': JSON.stringify(Date.now()),
'process.env.LANDSCAPE_LAST_WIPE': JSON.stringify('2021-10-20'), 'process.env.LANDSCAPE_LAST_WIPE': JSON.stringify('2021-10-20')
}), }),
// new CleanWebpackPlugin(), // new CleanWebpackPlugin(),