Commit Graph

114 Commits

Author SHA1 Message Date
Daniel Roe
c824905b99
fix(schema): handle null/undefined values in runtimeConfig (#2456) 2021-12-20 13:19:31 +01:00
Daniel Roe
c8e281e7b6
feat(nitro): specify packages to copy to .output/server/node_modules (#2382) 2021-12-20 12:03:22 +01:00
Daniel Roe
03f9cfa50b
fix(nitro): pass sourcemap option through to rollup plugins (#2387)
Co-authored-by: Matteo Rigoni <matteo.rigoni@atoms.studio>
2021-12-17 10:39:44 +01:00
Xin Du (Clark)
a08b435f51
refactor: remove unnecessary optional chaining (#1991) 2021-11-17 15:37:34 +01:00
Daniel Roe
d30f4d86d2
fix: sanitize rollup-generated filenames (#1648)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-03 14:04:42 +01:00
Daniel Roe
f0b9474b40
feat(nuxi): bundle analyzer (#701)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-21 21:51:44 +02:00
Daniel Roe
d166b78e06
feat(vite): use externality to resolve externals for ssr dev bundler (#1172) 2021-10-20 11:50:29 +02:00
Daniel Roe
6acfdcd0f7
refactor(nitro): move wasm support behind a flag (nitro.experiments.wasm) (#1045) 2021-10-14 20:57:23 +02:00
Daniel Roe
5275624f2e
feat(nitro): support importing/inlining wasm binaries (#693) 2021-10-07 15:43:34 +02:00
pooya parsa
6e496373f3
feat: use native esm for all packages (#539) 2021-10-02 18:01:17 +02:00
Daniel Roe
f79f6fe40f
chore(nitro): upgrade unenv and remove old workaround (#595) 2021-09-29 19:50:54 +02:00
Daniel Roe
0c14b0a48b
fix: workaround for vue 3.2.18+ esm bundle issue and revert #566 (#578) (#578) 2021-09-29 13:47:36 +02:00
pooya parsa
6329a681e4
refactor: migrate from upath to pathe (#553) 2021-09-27 14:49:36 +02:00
Xin Du (Clark)
a137d2e5ec
feat(nitro): support esbuild options config (#550) 2021-09-22 16:39:54 +02:00
renovate[bot]
9f7438afb1
chore: update all non-major dependencies and add node to nitro external conditions (#440)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-09-05 23:54:12 +02:00
Daniel Roe
de57626a7a
fix(nitro): emit chunk names without # (#477) 2021-09-05 22:48:38 +02:00
Daniel Roe
0c50af9fd5
fix(nitro): use file url for #build alias in windows dev (#469) 2021-09-05 22:35:54 +02:00
Daniel Roe
193d7bf8bc
feat: use webpack esm server build (#474) 2021-09-05 22:33:24 +02:00
pooya parsa
ee0163c273
refactor: merge modules to nuxt3 (#439) 2021-08-11 22:28:38 +02:00
Pooya Parsa
cb7f079ac4 chore: fix lint issues
[skip-release]

using `import type` seems a regression of `import/named` rule but generally makes it more readable to prefer using it :)
2021-08-09 18:18:21 +02:00
Daniel Roe
771e72b1b5
chore(nitro): no longer need to inline ohmyfetch (#407) 2021-08-09 17:46:03 +02:00
Daniel Roe
bb757045ec
fix(webpack): use cjs for emitted webpack files (#395) 2021-07-28 14:00:39 +02:00
Daniel Roe
c9ed8bc341
fix(nitro): import externals as esm namespace (#394)
[workaround]
2021-07-28 09:58:07 +02:00
Matt Kane
bad2a74805
fix(nitro): disable moduleSideEffects by default (#377) 2021-07-26 13:32:35 +02:00
pooya parsa
be255772b2
feat: support ssr: false (#351)
Co-Authored-By: Daniel Roe <daniel@roe.dev>
2021-07-21 22:05:22 +02:00
pooya parsa
6318438415
feat(nitro, vite): use native module (#252)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-07-15 11:38:06 +02:00
Daniel Roe
0a3041cdf9
fix: allow use of nuxt3 in non-wsl windows environment (#308) 2021-07-12 12:54:24 +02:00
Pooya Parsa
3398d5a7d6 refactor: use # prefex for internal aliases
leftovers
2021-06-18 11:54:35 +02:00
Pooya Parsa
b6104c6e83 chore(nitro): provide process.client and process.server
They should be handled in vite/webpack step but just in case
2021-06-14 20:37:35 +02:00
Daniel Roe
7c85daa64e
fix(nitro): set esbuild target: '2019' (#189) 2021-06-14 11:03:44 +02:00
Pooya Parsa
0b7790f6d0 feat(nitro): #config 2021-06-04 22:12:32 +02:00
Pooya Parsa
f98be4bfed fix(nitro): support ~/@ aliases and explicitly externalize buildDir 2021-06-04 22:04:08 +02:00
Pooya Parsa
9fcd746c72 chore(nitro): disable auto mock 2021-05-24 13:25:34 +02:00
Pooya Parsa
a82e7b9008 fix(nitro): set makeAbsoluteExternalsRelative to false (resolves #160) 2021-05-24 13:21:37 +02:00
Pooya Parsa
838eae4a57 chore: apply latest eslint rules
closes #163
2021-05-24 13:14:10 +02:00
renovate[bot]
82b585dbb0
chore(deps): lock file maintenance and fix lint issues (#141) 2021-05-20 12:58:30 +02:00
Alexander Lichter
520f48a9d2
fix(nitro) set requireReturnsDefault to auto (#131) 2021-04-29 15:00:31 +02:00
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