From a90cc2d7abd4b5e5b8f2a8764c7b6e81d69a68c5 Mon Sep 17 00:00:00 2001 From: "Fabien \"egg\" O'Carroll" Date: Thu, 27 Apr 2023 00:20:27 +0100 Subject: [PATCH] Fixed sodo-search build script --- ghost/sodo-search/scripts/build-combined.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/ghost/sodo-search/scripts/build-combined.js b/ghost/sodo-search/scripts/build-combined.js index a0807107db..ef7bc7b4e4 100644 --- a/ghost/sodo-search/scripts/build-combined.js +++ b/ghost/sodo-search/scripts/build-combined.js @@ -2,17 +2,6 @@ const rewire = require('rewire'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const defaults = rewire('react-scripts/scripts/build.js'); let config = defaults.__get__('config'); -const fs = require('fs'); -/* eslint-disable no-console */ -const log = console.log; -/* eslint-enable no-console */ - -fs.copyFile('./public/main.css', './umd/main.css', (err) => { - if (err) { - throw err; - } - log('Copied main.css'); -}); config.optimization.splitChunks = { cacheGroups: {