Fix What's New dialog layout and improve dev styling/debugging.
All checks were successful
Trigger cinny-mobile / dispatch (push) Successful in 1s
All checks were successful
Trigger cinny-mobile / dispatch (push) Successful in 1s
Portal the updates dialog to document.body with stable data attributes, fix max-width (invalid S800 token), bundle update images for Capacitor, and add readable vanilla-extract class names plus portalContainer tap fixes.
This commit is contained in:
@@ -11,6 +11,10 @@ import fs from 'fs';
|
||||
import path from 'path';
|
||||
import buildConfig from './build.config';
|
||||
import { liveTsxPlugin, readDefaultLiveSource } from './playground-liveTsxPlugin';
|
||||
import {
|
||||
createReadableVanillaExtractIdentifiers,
|
||||
vanillaExtractDebugIdsPlugin,
|
||||
} from './vanillaExtractIdentifiers.js';
|
||||
|
||||
const projectRoot = path.resolve();
|
||||
|
||||
@@ -252,7 +256,7 @@ function corsProxyMiddleware() {
|
||||
};
|
||||
}
|
||||
|
||||
export default defineConfig({
|
||||
export default defineConfig(() => ({
|
||||
appType: 'spa',
|
||||
publicDir: false,
|
||||
base: buildConfig.base,
|
||||
@@ -304,7 +308,15 @@ export default defineConfig({
|
||||
promiseImportName: (i) => `__tla_${i}`,
|
||||
}),
|
||||
viteStaticCopy(copyFiles),
|
||||
vanillaExtractPlugin(),
|
||||
...(process.env.VITE_VE_IDENTIFIERS === 'short' ? [] : [vanillaExtractDebugIdsPlugin()]),
|
||||
vanillaExtractPlugin({
|
||||
unstable_pluginFilter: ({ name }) =>
|
||||
name === 'vite-tsconfig-paths' || name === 'vanilla-extract-debug-ids',
|
||||
identifiers:
|
||||
process.env.VITE_VE_IDENTIFIERS === 'short'
|
||||
? 'short'
|
||||
: createReadableVanillaExtractIdentifiers(projectRoot),
|
||||
}),
|
||||
wasm(),
|
||||
react(),
|
||||
VitePWA({
|
||||
@@ -359,4 +371,4 @@ export default defineConfig({
|
||||
plugins: [inject({ Buffer: ['buffer', 'Buffer'] })],
|
||||
},
|
||||
},
|
||||
});
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user