From ba84387722e7648ad181336eff98be5eca12ffcd Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 9 Dec 2021 18:15:22 +0100 Subject: [PATCH] remove commented out code --- vite.config.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/vite.config.js b/vite.config.js index c7c91a68..1562269e 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,5 +1,4 @@ const cssvariables = require("postcss-css-variables"); -//const autoprefixer = require("autoprefixer"); const flexbugsFixes = require("postcss-flexbugs-fixes"); const fs = require("fs"); @@ -7,7 +6,6 @@ const path = require("path"); const injectWebManifest = require("./scripts/build-plugins/manifest"); const {injectServiceWorker, createPlaceholderValues} = require("./scripts/build-plugins/service-worker"); -// const legacyBuild = require("./scripts/build-plugins/legacy-build"); const {defineConfig} = require('vite'); const version = JSON.parse(fs.readFileSync(path.join(__dirname, "package.json"), "utf8")).version; @@ -38,11 +36,6 @@ export default defineConfig(({mode}) => { polyfillModulePreload: false, }, plugins: [ - // legacyBuild(scriptTagPath(path.join(__dirname, "src/platform/web/index.html"), 0), { - // "./Platform": "./LegacyPlatform" - // }, "hydrogen-legacy", [ - // './legacy-polyfill', - // ]), // important this comes before service worker // otherwise the manifest and the icons it refers to won't be cached injectWebManifest("assets/manifest.json"),