mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-11 13:56:15 -08:00
chore(release): [REL-09] prepare independent major versions and verified artifacts
This commit is contained in:
1 parent
69ad6fb17e
commit
2983cb7c51
231 files changed
+2784
-232
No files matched your search
@@ -76,7 +76,8 @@ try {
|
||||
for (const mode of ['development', 'production']) {
|
||||
const outDir = path.join(output, mode)
|
||||
await build({ root: consumer, configFile: false, plugins: [react()], mode, define: { 'process.env.NODE_ENV': JSON.stringify(mode) }, build: { outDir, emptyOutDir: false, rollupOptions: { input: { app: path.join(consumer, 'index.html'), harness: path.join(consumer, 'harness.html') } } } })
|
||||
const server = await preview({ root: consumer, configFile: false, build: { outDir }, preview: { host: '127.0.0.1', port: 0, open: false } })
|
||||
// Windows can assign browser-blocked ports (observed: 6566) for port 0.
|
||||
const server = await preview({ root: consumer, configFile: false, build: { outDir }, preview: { host: '127.0.0.1', port: 4173, open: false } })
|
||||
const address = server.httpServer.address()
|
||||
const base = `http://127.0.0.1:${address.port}`
|
||||
try {
|
||||
|
||||
@@ -70,7 +70,8 @@ try {
|
||||
for (const mode of ['development', 'production']) {
|
||||
const outDir = path.join(output, mode)
|
||||
await build({ root: consumer, configFile: false, plugins: [vue({ isProduction: mode === 'production' })], mode, define: { 'process.env.NODE_ENV': JSON.stringify(mode) }, build: { outDir, emptyOutDir: false, rollupOptions: { input: { app: path.join(consumer, 'index.html'), harness: path.join(consumer, 'harness.html'), legacy: path.join(consumer, 'legacy.html') } } } })
|
||||
const server = await preview({ root: consumer, configFile: false, build: { outDir }, preview: { host: '127.0.0.1', port: 0, open: false } })
|
||||
// Windows can assign browser-blocked ports for port 0; let Vite find availability.
|
||||
const server = await preview({ root: consumer, configFile: false, build: { outDir }, preview: { host: '127.0.0.1', port: 4174, open: false } })
|
||||
const base = `http://127.0.0.1:${server.httpServer.address().port}`
|
||||
try {
|
||||
for (const [engine, type] of Object.entries({ chromium, firefox, webkit })) {
|
||||
|
||||
Reference in new issue
Block a user