Switch build system to Vite (#1444)

Switch Parcel to Vite
This commit is contained in:
Matthew Donoughe
2023-11-05 03:12:03 -08:00
committed by GitHub
parent 09743dcdc4
commit f6d104265a
14 changed files with 959 additions and 4706 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
// TODO: Investigate replacing this with https://github.com/vitejs/vite/discussions/7722#discussioncomment-4007436
import * as path from "path";
import fs from "fs";
import { spawnSync } from "child_process";
@@ -33,7 +35,7 @@ const config: webpack.Configuration = {
new LicenseCheckerWebpackPlugin({
allow: "(Apache-2.0 OR BSD-2-Clause OR BSD-3-Clause OR MIT OR 0BSD)",
emitError: true,
outputFilename: "third-party-licenses.txt",
outputFilename: "../dist/third-party-licenses.txt",
outputWriter: formatThirdPartyLicenses,
// Workaround for failure caused in WebPack 5: https://github.com/microsoft/license-checker-webpack-plugin/issues/25#issuecomment-833325799
filter: /(^.*[/\\]node_modules[/\\]((?:@[^/\\]+[/\\])?(?:[^@/\\][^/\\]*)))/,