enable sourceMap on frontend
All checks were successful
Test (production install and build) / production (20.16.0) (push) Successful in 1m47s
Lint / pnpm_install (push) Successful in 2m5s
Publish Docker image / Build (push) Successful in 4m44s
Lint / lint (frontend) (push) Successful in 2m44s
Lint / lint (backend) (push) Successful in 2m58s
Lint / lint (frontend-embed) (push) Successful in 2m50s
Lint / lint (frontend-shared) (push) Successful in 2m54s
Lint / lint (misskey-bubble-game) (push) Successful in 2m55s
Lint / lint (misskey-reversi) (push) Successful in 2m53s
Lint / lint (misskey-js) (push) Successful in 3m25s
Lint / lint (sw) (push) Successful in 3m7s
Lint / typecheck (misskey-js) (push) Successful in 2m9s
Lint / typecheck (sw) (push) Successful in 2m12s
Lint / typecheck (backend) (push) Successful in 3m19s
All checks were successful
Test (production install and build) / production (20.16.0) (push) Successful in 1m47s
Lint / pnpm_install (push) Successful in 2m5s
Publish Docker image / Build (push) Successful in 4m44s
Lint / lint (frontend) (push) Successful in 2m44s
Lint / lint (backend) (push) Successful in 2m58s
Lint / lint (frontend-embed) (push) Successful in 2m50s
Lint / lint (frontend-shared) (push) Successful in 2m54s
Lint / lint (misskey-bubble-game) (push) Successful in 2m55s
Lint / lint (misskey-reversi) (push) Successful in 2m53s
Lint / lint (misskey-js) (push) Successful in 3m25s
Lint / lint (sw) (push) Successful in 3m7s
Lint / typecheck (misskey-js) (push) Successful in 2m9s
Lint / typecheck (sw) (push) Successful in 2m12s
Lint / typecheck (backend) (push) Successful in 3m19s
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
This commit is contained in:
parent
77b333dbdb
commit
e75d885a2c
1 changed files with 2 additions and 1 deletions
|
@ -148,6 +148,7 @@ export function getConfig(): UserConfig {
|
||||||
},
|
},
|
||||||
chunkFileNames: process.env.NODE_ENV === 'production' ? '[hash:8].js' : '[name]-[hash:8].js',
|
chunkFileNames: process.env.NODE_ENV === 'production' ? '[hash:8].js' : '[name]-[hash:8].js',
|
||||||
assetFileNames: process.env.NODE_ENV === 'production' ? '[hash:8][extname]' : '[name]-[hash:8][extname]',
|
assetFileNames: process.env.NODE_ENV === 'production' ? '[hash:8][extname]' : '[name]-[hash:8][extname]',
|
||||||
|
sourcemap: true,
|
||||||
paths(id) {
|
paths(id) {
|
||||||
for (const p of externalPackages) {
|
for (const p of externalPackages) {
|
||||||
if (p.match.test(id)) {
|
if (p.match.test(id)) {
|
||||||
|
@ -163,7 +164,7 @@ export function getConfig(): UserConfig {
|
||||||
outDir: __dirname + '/../../built/_frontend_vite_',
|
outDir: __dirname + '/../../built/_frontend_vite_',
|
||||||
assetsDir: '.',
|
assetsDir: '.',
|
||||||
emptyOutDir: false,
|
emptyOutDir: false,
|
||||||
sourcemap: process.env.NODE_ENV === 'development',
|
sourcemap: true,
|
||||||
reportCompressedSize: false,
|
reportCompressedSize: false,
|
||||||
|
|
||||||
// https://vitejs.dev/guide/dep-pre-bundling.html#monorepos-and-linked-dependencies
|
// https://vitejs.dev/guide/dep-pre-bundling.html#monorepos-and-linked-dependencies
|
||||||
|
|
Loading…
Reference in a new issue