Commit Graph

77 Commits

Author SHA1 Message Date
Pooya Parsa
51538bfcb1 fix(nitro): handle esm imports from cjs files
fixes fs mock for vue-server-renderer
2021-04-28 16:16:42 +02:00
Alexander Lichter
2a2c4d5e46
fix(nitro): remove depd unenv alias (#120) 2021-04-28 15:25:13 +02:00
Pooya Parsa
5e0abbcb1b fix(nitro): don't externalize @nuxt, virtual: and # 2021-04-28 15:13:27 +02:00
Pooya Parsa
5a3f4b7800 fix(nitro): use globalThis 2021-04-21 17:35:20 +02:00
pooya parsa
de9dffb0d6 chore: migrate to unenv and mkbuild 0.2 (#108) 2021-04-21 17:10:53 +02:00
Alexander Lichter
4c0dba202f
fix(nitro): mock consola (#106) 2021-04-21 13:16:04 +02:00
Pooya Parsa
fbe658ffc7 chore: hide esbuild sourcemap warning 2021-04-20 15:22:42 +02:00
pooya parsa
5646770cd1
refactor(nitro): use # prefix for aliases (#101) 2021-04-20 13:03:18 +02:00
Pooya Parsa
4e1865358c fix: issues with externals outside of rootDir 2021-04-19 22:41:02 +02:00
Pooya Parsa
bf0132f3e1 chore(nitro): opt in to makeAbsoluteExternalsRelative: 'ifRelativeSource' 2021-04-13 00:08:18 +02:00
Pooya Parsa
f8cb2586cf perf(nitro): externalize buildDir in development
TODO: supporting ignore patterns to include/exclude (rootDir but not buildDir)
2021-04-13 00:06:27 +02:00
pooya parsa
babb70a4bd
feat(nitro): server assets (#83) 2021-04-12 23:28:48 +02:00
pooya parsa
31f06e9f69
feat(nitro): storage support (#76) 2021-04-11 23:22:02 +02:00
pooya parsa
2d60e71fcb
feat(nitro): raw loader (#75) 2021-04-11 20:20:41 +02:00
Daniel Roe
00c7ede623
fix(nitro): exclude rootDir from externals and reinstate automock warning (#66) 2021-04-09 10:03:49 +02:00
Pooya Parsa
8a22fa333e feat: update preset options
external tracing enabled by default for node. this change is potentially breaking demo
2021-02-22 13:12:59 +01:00
Pooya Parsa
29409f064f add preventAssignment option 2021-02-22 11:31:45 +01:00
pooya parsa
85da52d390 feat: support server directory (#132)
* feat: support server directory

* fix sorting and global

* lazy load api

* pretty print opts

* fix: hide table when no middleware
2021-02-18 17:06:58 +01:00
Daniel Roe
65229ffb04 feat: mock debug (#118)
closes #97
2021-02-09 14:16:33 +00:00
Pooya Parsa
5248905dd7 refactor: rebrand to nitro 2021-01-22 20:55:59 +01:00
Pooya Parsa
9e9b20ef90 fix: bring back nuxt3 support 2021-01-18 12:42:00 +01:00
Pooya Parsa
7e682ed663 feat: better error handler 2020-12-12 19:15:56 +01:00
Pooya Parsa
5bbdc2bc65 feat: improved externals and experimental trace with vercel/nft 2020-12-07 22:59:24 +01:00
Pooya Parsa
0199610834 chore: enable back automock plugin 2020-12-07 13:53:32 +01:00
Pooya Parsa
daf0c3e6a5 feat: sourcemap support 2020-12-07 13:36:43 +01:00
Pooya Parsa
4685108c16 fix: add node_modules from cwd to nodeResolve 2020-12-02 14:22:34 +01:00
Pooya Parsa
4890205b6e fix: temporary disable auto mock plugin 2020-12-02 14:21:49 +01:00
Pooya Parsa
0a2f9a3949 fix: update node-resolve options 2020-12-02 14:12:29 +01:00
Daniel Roe
9c25d68511 fix: addresses static assets/azure issues (#49) 2020-12-02 00:28:42 +01:00
pooya parsa
a9b9d19e66 feat: serveStatic (#47) 2020-11-28 23:49:39 +01:00
Pooya Parsa
7ae8483d21 feat: support typescript via esbuild (closes #42) 2020-11-28 22:11:25 +01:00
Pooya Parsa
ca015deda6 feat: support runtimeConfig (closes #43) 2020-11-28 21:50:16 +01:00
Pooya Parsa
531f6b1e08 fix: remove runtime/ prefix 2020-11-22 22:54:08 +01:00
Pooya Parsa
1f5e82a5bc fix NUXT_FULL_STATIC 2020-11-21 14:58:24 +01:00
Pooya Parsa
04fc395149 chore: unnecessary resolve 2020-11-21 12:42:46 +01:00
Pooya Parsa
227e04b92e feat: improved env support 2020-11-21 12:42:02 +01:00
Pooya Parsa
b5b585c0c8 feat: automatically mock unresolved externals 2020-11-20 22:08:57 +01:00
Pooya Parsa
5c8ac226f1 fix: hide rollup circular and eval 2020-11-20 22:04:48 +01:00
Pooya Parsa
82f6db6bca fix: promisify: false support 2020-11-20 21:13:23 +01:00
Pooya Parsa
68fc208299 fix: lazy is true by default 2020-11-20 21:11:46 +01:00
Pooya Parsa
cd0dd009e0 feat: use h2@10 2020-11-20 21:06:59 +01:00
Pooya Parsa
02a66ab40c feat: expose process.env.SIGMA_PRESET 2020-11-20 15:34:47 +01:00
Pooya Parsa
cb98031cff fix: cloudflare and polyfill 2020-11-20 13:14:16 +01:00
pooya parsa
c06f09e9ab sigma (#36) 2020-11-20 01:16:31 +01:00
Pooya Parsa
aa71b51538 feat: generate meaningful chunkNames 2020-11-15 02:31:50 +01:00
Pooya Parsa
740bf073b2 feat: timing plugin and Server-Timing 2020-11-15 01:52:18 +01:00
Pooya Parsa
5bd6531f5d chore: tweak terser options to improve debugging 2020-11-14 23:23:17 +01:00
Pooya Parsa
609796a944 feat: natively parse and import async webpack chunks 2020-11-14 18:51:56 +01:00
Pooya Parsa
e16aee43ba fix: resolve chunksDirName based on outNames dirname (vercel) 2020-11-14 14:33:31 +01:00
Pooya Parsa
1e34041e8d feat: support dynamic chunks, lazy middleware and cjs target 2020-11-14 14:05:09 +01:00