Commit Graph

441 Commits

Author SHA1 Message Date
renovate[bot]
c0e4fc007d
chore(deps): update dependency defu to v4 (#112)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-23 21:26:15 +02:00
Pooya Parsa
91e74b9364 chore: update h3 2021-04-21 18:35:44 +02:00
renovate[bot]
ab0ff594d9
chore(deps): update all non-major dependencies (#103)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-21 18:35:08 +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
8f8551cd67 fix(nitro): ovrride by user input 2021-04-20 16:10:49 +02:00
Pooya Parsa
fbe658ffc7 chore: hide esbuild sourcemap warning 2021-04-20 15:22:42 +02:00
Pooya Parsa
d9bb3fa2ee fix types 2021-04-20 15:22:07 +02:00
Pooya Parsa
d341e844fe chore(nitro): add nitro config types for nuxt.config 2021-04-20 14:51:34 +02:00
renovate[bot]
8ffb15200e
chore(deps): update all non-major dependencies (#91)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-20 14:20:38 +02:00
pooya parsa
a63347b0ba
types: add global and shims for app and nitro (#102) 2021-04-20 13:57:18 +02:00
pooya parsa
5646770cd1
refactor(nitro): use # prefix for aliases (#101) 2021-04-20 13:03:18 +02:00
Pooya Parsa
1b10a1f091 fix(nitro): only serve placeholders for publicPath 2021-04-20 12:30:12 +02:00
Pooya Parsa
49e4c038b5 fix(nitro): resolve default export for assets 2021-04-19 22:41:47 +02:00
Pooya Parsa
4e1865358c fix: issues with externals outside of rootDir 2021-04-19 22:41:02 +02:00
Pooya Parsa
bef9f82a8d feat(nitro): allow extending nitro context 2021-04-19 22:39:11 +02:00
Pooya Parsa
f51eb015d2 chore: release
- @nuxt/nitro@0.5.2
 - nuxt3@0.5.1
2021-04-17 17:55:16 +02:00
Pooya Parsa
4dac07a104 fix(nitro): support vue-meta (compat) 2021-04-17 17:50:03 +02:00
Pooya Parsa
c06dbd6c6e chore: release
- @nuxt/app@0.3.1
 - nuxt-cli@0.3.0
 - @nuxt/kit@0.5.0
 - @nuxt/nitro@0.5.1
 - nuxt3@0.5.0
 - @nuxt/vite-builder@0.3.0
 - @nuxt/webpack-builder@0.3.1
2021-04-16 22:07:53 +02:00
Pooya Parsa
cd00e5a92a chore: update unbuild 2021-04-16 22:05:53 +02:00
Pooya Parsa
e5df083f60 fix(nitro): workaround for vue2 global style injection 2021-04-16 21:36:19 +02:00
Pooya Parsa
64fe3f735c chore: enable declaration for app and nitro runtime 2021-04-15 21:38:19 +02:00
renovate[bot]
f4d9354d7e
chore(deps): update all non-major dependencies (#87)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 21:31:13 +02:00
Pooya Parsa
6a30a6fd10 chore: release
- @nuxt/kit@0.4.0
 - @nuxt/nitro@0.5.0
 - nuxt3@0.4.0
 - @nuxt/vite-builder@0.2.1
 - @nuxt/webpack-builder@0.3.0
2021-04-13 00:13:14 +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
b5c77b4c6b chore: fix lint error 2021-04-12 23:54:46 +02:00
renovate[bot]
95e475b2f9
chore(deps): update all non-major dependencies (#73)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 23:53:08 +02:00
Pooya Parsa
9a23c2a553 fix(nitro): absolute external resolution (#80) 2021-04-12 23:52:46 +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
Pooya Parsa
bb797fcbb6 chore: release
- @nuxt/app@0.3.0
 - nuxt-cli@0.2.0
 - @nuxt/kit@0.3.0
 - @nuxt/nitro@0.4.0
 - nuxt3@0.3.0
 - @nuxt/vite-builder@0.2.0
 - @nuxt/webpack-builder@0.2.0
2021-04-09 18:02:40 +02:00
Pooya Parsa
6bca511b19 chore: remove globby and chokidar stub types 2021-04-09 17:56:54 +02:00
pooya parsa
a030c62d29
feat: initial version of nu cli (#54) 2021-04-09 17:52:45 +02:00
renovate[bot]
b0a8ec6368
chore(deps): update all non-major dependencies (#62)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-09 15:55:58 +02:00
pooya parsa
c351574043
chore: update build scripts (#69) 2021-04-09 15:48:39 +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
3eb3927779 chore: release
- @nuxt/nitro@0.3.0
 - nuxt3@0.2.6
2021-04-08 16:56:32 +02:00
Pooya Parsa
b536ab4ba7 feat: basic support for netlify_builder target (#18)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-04-08 16:54:50 +02:00
Pooya Parsa
4d69c9fb55 chore: release
- @nuxt/nitro@0.2.4
 - nuxt3@0.2.5
2021-04-06 15:09:01 +02:00
Pooya Parsa
f66d917729 fix(nitro): add temporary workarouind for ufo resolution in nuxt2 2021-04-06 14:57:10 +02:00
Pooya Parsa
7b5bd53a02 chore: release
- @nuxt/app@0.2.1
 - @nuxt/nitro@0.2.3
 - nuxt3@0.2.4
 - @nuxt/webpack-builder@0.1.2
2021-04-06 14:27:17 +02:00
renovate[bot]
dfe99caaf1
chore(deps): update all non-major dependencies (#40)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-06 14:18:17 +02:00
pooya parsa
b12cbc5ed2
fix: use globalThis instead of global (#59) 2021-04-06 14:10:57 +02:00
Daniel Roe
7f97015c74
fix(app, nitro): fix app:rendered hook (#53)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-04-06 11:26:53 +02:00
Alexander Lichter
07e70ac35a
chore(nitro,nuxt3): add READMEs again (#55) 2021-04-06 11:21:47 +02:00
Pooya Parsa
07e1126508 chore(nitro): fix types 2021-04-05 21:08:53 +02:00
Daniel Roe
06f1ba9853
chore(nitro): add some more types (#49)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-04-04 23:06:56 +02:00
Pooya Parsa
0ba484b99a chore: release
- @nuxt/nitro@0.2.2
 - nuxt3@0.2.3
2021-04-04 22:56:15 +02:00
Pooya Parsa
922fc109dc chore: release
- @nuxt/nitro@0.2.1
 - nuxt3@0.2.2
2021-04-04 19:57:49 +02:00
Pooya Parsa
16cc09bd76 fix(nitro): pass req, res to ssr context (resolves #39) 2021-04-04 19:57:42 +02:00
Pooya Parsa
c864c5a30c fix(nitro): resolve alias for serverMiddleware 2021-04-04 19:54:12 +02:00
Pooya Parsa
6e1cb62231 fix(nitro): add missing kit dependency 2021-04-04 19:46:18 +02:00
Pooya Parsa
9c21ea52ea fix(nitro): add back compat entry 2021-04-04 19:39:54 +02:00
Pooya Parsa
ada29d411b Publish
- @nuxt/app@0.2.0
 - nuxt-cli@0.1.1
 - @nuxt/kit@0.2.0
 - @nuxt/nitro@0.2.0
 - nuxt3@0.2.0
 - @nuxt/vite-builder@0.1.1
 - @nuxt/webpack-builder@0.1.1
2021-04-04 17:51:31 +02:00
pooya parsa
ef2f9993cb
chore: switch to berry (#50) 2021-04-04 16:22:40 +02:00
Pooya Parsa
6fb4028850 fix(dep): pin esbuild to 0.10.x due to module breaking changes 2021-04-02 19:42:53 +02:00
renovate[bot]
c0b8d08819
chore(deps): update all non-major dependencies (#35)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-02 13:48:20 +02:00
pooya parsa
b3f3dc94f3
feat: module utils and improvements (#38) 2021-04-02 13:47:01 +02:00
renovate[bot]
55f2b3c4c1
chore(deps): update dependency @rollup/plugin-commonjs to v18 (#33)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-28 22:57:06 +02:00
renovate[bot]
6db77cca58
chore(deps): update all non-major dependencies (#32)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-28 22:50:51 +02:00
Pooya Parsa
c95d88c6cb refactor: externalize @nuxt/app 2021-03-28 22:49:05 +02:00
renovate[bot]
4c4cbfe0ff
chore(deps): update all non-major dependencies (#30)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-18 15:27:51 +01:00
Pooya Parsa
a16e13b1de chore: upgrade to monorepo 2021-03-18 15:26:41 +01:00
Alexander Lichter
8cc836ebf6 fix(cloudflare, lambda): preserve query parameters in url (#155) 2021-03-10 11:25:05 +01:00
Daniel Roe
fdc0ffef8d fix(compat): enforce nuxt generate for static target (#148) 2021-03-05 12:13:35 +01:00
Pooya Parsa
5bfacf1f55 fix: avoid overriding hooks
input is merged extra
2021-02-26 20:15:41 +01:00
Pooya Parsa
97478dde96 chore: less verbose server routes table 2021-02-22 19:38:32 +01:00
Pooya Parsa
b7b9fbf927 chore: disable verbose output in test environment 2021-02-22 18:47:32 +01: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
eebdb2870a chore(presets): rename local to dev 2021-02-22 12:34:27 +01:00
Pooya Parsa
5e6fb802f3 fix(resolveMiddleware): remove legacy handler and path props 2021-02-22 11:37:29 +01:00
Pooya Parsa
29409f064f add preventAssignment option 2021-02-22 11:31:45 +01:00
Pooya Parsa
709611941b fix: use globalThis for client plugin 2021-02-19 15:11:35 +01:00
Daniel Roe
e1f409ea51 fix: force rebuild on new files being added (#136) 2021-02-19 15:01:08 +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
27aef1489f fix: allow numbers in dynamic webpack chunk names (#125) 2021-02-16 12:11:52 +00:00
Daniel Roe
0942d72553 fix: allow matching dynamic page routes 2021-02-16 11:29:18 +00:00
Daniel Roe
c1cd37d8c5 fix: load webpack modules synchronously with require (#104)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-02-16 11:51:53 +01:00
Daniel Roe
65229ffb04 feat: mock debug (#118)
closes #97
2021-02-09 14:16:33 +00:00
Daniel Roe
9390acce83 feat: add firebase preset (#100) 2021-02-08 09:04:26 +01:00
Daniel Roe
c76bd35c29 fix: use allowlist approach to chunk name (#101)
closes #93
2021-02-05 18:52:18 +01:00
Daniel Roe
31a9bc2d18 feat: add support for Azure static web apps (#92) 2021-02-01 09:24:49 +00:00
Daniel Roe
97efab4270 fix: check for server webpack config (#91) 2021-01-30 22:05:40 +00:00
Xin Du (Clark)
5aa31613bd fix(config): always disasble server sourceMap (#88) 2021-01-24 22:12:07 +01:00
Xin Du (Clark)
1b142148eb fix(compat): disable webpack sourcemap (#84) 2021-01-24 21:30:20 +01:00
Xin Du (Clark)
67a82a7ab9 fix(compat): cannot read property setLegacyMiddleware of undefined (#82) 2021-01-24 20:18:20 +01:00
Xin Du (Clark)
2d0ff10892 fix(rollup): dirnames not generate a sourcemap for the transformation (#83) 2021-01-24 20:16:39 +01:00
Pooya Parsa
fff38618fe chore: allow passing listhen options 2021-01-22 21:32:29 +01:00
Pooya Parsa
5248905dd7 refactor: rebrand to nitro 2021-01-22 20:55:59 +01:00
Pooya Parsa
41951c8862 refactor: move nuxt2 plugin to compat 2021-01-22 20:53:40 +01:00
Pooya Parsa
d94aec4841 fix: fix _interopDefault implementation 2021-01-21 15:49:34 +01:00
Pooya Parsa
4f09b514f1 fix: _interopDefault potential cjs files 2021-01-21 15:46:05 +01:00
Pooya Parsa
0b886cf57f feat: serve-placeholder 2021-01-21 14:21:33 +01:00
Pooya Parsa
a6936ff8c6 fix: default value for template path 2021-01-21 14:07:48 +01:00
Xin Du (Clark)
0ebab89014 update getSigmaContext name (#73) 2021-01-21 01:58:43 +01:00
Xin Du (Clark)
f4e15196b2 fix error message in rollup and server (#72) 2021-01-20 23:09:22 +01:00
Xin Du (Clark)
2186d953d0 fix: update documentPath with updated buildDir (#70) 2021-01-20 23:08:54 +01:00
Pooya Parsa
6e9be0eece feat: support ssrContext.head
Co-Authored-By: Daniel Roe <daniel@roe.dev>
2021-01-20 20:13:28 +01:00
Pooya Parsa
387fa4a278 fix: 404 handling for static assets 2021-01-20 16:42:42 +01:00
Pooya Parsa
fd0be27f0c fix: static asset handling with leading slash 2021-01-20 16:00:14 +01:00
Pooya Parsa
cc4a32c024 chore: hide generated logs 2021-01-20 15:37:21 +01:00
Pooya Parsa
0675191cba fix: disable external tracing for local preset 2021-01-20 15:34:00 +01:00
Pooya Parsa
fa5d0e04f9 chore: fix runtime typescript errors 2021-01-18 12:47:25 +01:00
Pooya Parsa
9e9b20ef90 fix: bring back nuxt3 support 2021-01-18 12:42:00 +01:00
Pooya Parsa
b07a4a5c8d refactor: move runtime to src (typescript) 2021-01-18 11:57:38 +01:00
Pooya Parsa
19e6542d27 feat: enable externals.trace by default 2021-01-12 16:58:05 +01:00
Sébastien Chopin
8a8840c970 chore: typo 2021-01-11 19:02:11 +01:00
Pooya Parsa
7e682ed663 feat: better error handler 2020-12-12 19:15:56 +01:00
Pooya Parsa
2c83f6ea6a feat: integrate $fetch with ohmyfetch 2020-12-12 15:46:54 +01:00
Pooya Parsa
239c69d92a fix: silent proxy errors 2020-12-12 15:21:12 +01:00
Pooya Parsa
e56178a872 fix: use connect for dev server due to loading-screen issue 2020-12-12 15:20:55 +01:00
Pooya Parsa
5bbdc2bc65 feat: improved externals and experimental trace with vercel/nft 2020-12-07 22:59:24 +01:00
Pooya Parsa
a05c806f85 chore: hide listen message for dev 2020-12-07 21:49:37 +01:00
Pooya Parsa
28be995ef4 chore: move local artifacts to buildDir/sigma 2020-12-07 21:49:03 +01:00
Pooya Parsa
921bb15130 feat: swtich to h2 stack for dev server 2020-12-07 14:09:09 +01:00
Pooya Parsa
0199610834 chore: enable back automock plugin 2020-12-07 13:53:32 +01:00
Pooya Parsa
6de295cc9f fix: skip static dir if not exists 2020-12-07 13:48:29 +01:00
Pooya Parsa
daf0c3e6a5 feat: sourcemap support 2020-12-07 13:36:43 +01:00
Pooya Parsa
0742e0ff33 chore: move local dist to .output for easier debugging 2020-12-07 13:13:45 +01:00
Daniel Roe
3c9bb27148 fix: temporary remove dev warning for pwa module (#40) 2020-12-02 14:27:01 +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
133b44d3c0 fix: disable static manifest generation (resolves #53) 2020-12-02 14:19:18 +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
b010e83008 chore: fix lint issues 2020-11-28 22:13:16 +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
5783abdb52 Merge branch 'main' of github.com:nuxt/sigma into main 2020-11-28 21:24:42 +01:00
Daniel Roe
976dff7ce1 feat: add azure functions preset (#45) 2020-11-28 12:50:55 +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
dbce482b7e feat: improved sever timing 2020-11-21 14:55:41 +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
ba0943aa22 revert back auto mock warning 2020-11-21 12:06:51 +01:00
Pooya Parsa
6794b01404 chore: hide automock warn 2020-11-20 22:09:53 +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
0b51fb3bc3 register page for browser 2020-11-20 15:25:40 +01:00
Pooya Parsa
37c7e892d5 fix: add temp fix for browser 2020-11-20 14:57:02 +01:00
Pooya Parsa
abf65f2176 feat: sigma.client 2020-11-20 14:46:55 +01:00
Pooya Parsa
a7d158798c feat: add $fetch to client 2020-11-20 14:31:14 +01:00
Pooya Parsa
d3d3c0a2ea fix(vercel): entry should export handle as default 2020-11-20 13:49:21 +01:00
Pooya Parsa
cb98031cff fix: cloudflare and polyfill 2020-11-20 13:14:16 +01:00
Pooya Parsa
15fff5117f fix(vercel): remove index.js from serverDir 2020-11-20 13:04:16 +01:00
Pooya Parsa
1524377708 fix ts error 2020-11-20 12:56:51 +01:00
Pooya Parsa
b15d16abd3 fix: support both targets by adding prepare step 2020-11-20 12:55:55 +01:00
Pooya Parsa
bde0c7c286 fix: ignore close listeners 2020-11-20 03:34:15 +01:00
Pooya Parsa
6080927c16 fixes for dev and static target 2020-11-20 03:22:22 +01:00
Pooya Parsa
f638a44568 fix: use dist for netlify as default 2020-11-20 02:49:43 +01:00
Pooya Parsa
ec291dafc1 fix issues with generate and dev 2020-11-20 02:38:06 +01:00
Daniel Roe
16451a3588 fix: static dir is in srcDir (#37) 2020-11-20 01:38:35 +01:00
pooya parsa
c06f09e9ab sigma (#36) 2020-11-20 01:16:31 +01:00
Pooya Parsa
047761f8b7 fix: move hrtime polyfill to timing plugin 2020-11-15 03:43:43 +01:00
Pooya Parsa
e874d4db59 fix: disable cleanTargetDir for vercel 2020-11-15 02:43:50 +01:00
Pooya Parsa
f2c1589472 fix(timing): include helpers only in entries 2020-11-15 02:34:43 +01:00
Pooya Parsa
aa71b51538 feat: generate meaningful chunkNames 2020-11-15 02:31:50 +01:00
Pooya Parsa
3939ea9e4d chore: sort tree by length 2020-11-15 02:03:35 +01:00
Pooya Parsa
ef85ddfbc9 chore: fix ts lint 2020-11-15 01:53:08 +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
d2e8c3bd78 chore: disable webpack standalone, minify and enable minify for node by default 2020-11-14 23:01:57 +01:00
Pooya Parsa
8b071c4efd chore: simplify tree 2020-11-14 21:47:14 +01:00
Pooya Parsa
6875d5535b feat: show fs tree for output 2020-11-14 21:41:38 +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
Pooya Parsa
e3609b6d8a fix: exec require before return 2020-11-14 02:44:33 +01:00
Pooya Parsa
f7378db9e0 feat: add hint to dynamic require for netlify 2020-11-14 02:43:13 +01:00
Pooya Parsa
536155825b fix: add hack for encoding 2020-11-14 01:49:37 +01:00
Pooya Parsa
04bb2fa906 chore: fix lint error 2020-11-14 01:25:12 +01:00
Pooya Parsa
3d2c019a6a tweak target defaults to disable minify and inlining for non workers 2020-11-14 01:23:22 +01:00
Pooya Parsa
a5e70eb4b0 fix: use native fetch when node is disabled 2020-11-14 01:11:26 +01:00
Pooya Parsa
9e638e96fa feat: support universalFetch during generate 2020-11-14 01:03:26 +01:00
Pooya Parsa
c8f4957520 fix: fix mocks and disable buffer since is unnecessary 2020-11-13 19:29:47 +01:00
Pooya Parsa
e8f52bd383 fix: use same global to inject process.hrtime 2020-11-13 19:05:45 +01:00
Pooya Parsa
989f6811c2 feat: better process polyfill 2020-11-13 18:45:03 +01:00
Pooya Parsa
eaf4603d9c fix(worker): wrap polyfill to iife 2020-11-13 18:13:51 +01:00
Pooya Parsa
b65cd7862a fix: always mock generic dependencies
also inject after json
2020-11-13 17:18:27 +01:00
Pooya Parsa
2384b8269e feat: improve mocking 2020-11-13 17:14:17 +01:00
Pooya Parsa
4d4ae7a115 chore: add prefix to rollup errors 2020-11-13 17:13:18 +01:00
Pooya Parsa
2ad4a81362 feat: mock mime packages and fix v1 compat 2020-11-13 15:52:02 +01:00
Pooya Parsa
6ff7c7e02e feat: improve mocks 2020-11-13 14:18:07 +01:00
Pooya Parsa
72d2dcc582 add content playground 2020-11-12 19:18:33 +01:00
Pooya Parsa
75ed762192 feat: support serverMiddleware 2020-11-11 23:06:29 +01:00
Pooya Parsa
b258c2af2c explicitly set outName in targets to avoid regression 2020-11-11 15:27:08 +01:00
Pooya Parsa
35720380c2 update default sls dir to make usage easier (without gitignore) 2020-11-11 15:12:11 +01:00
Pooya Parsa
696556aef8 fix: only generate .sls directory when needed 2020-11-11 15:06:20 +01:00
Pooya Parsa
8414e64eeb refactor: add more tructure to runtime dir 2020-11-11 15:03:55 +01:00
Pooya Parsa
aff2372650 fix: configurable publicPath (closes #21) 2020-11-11 14:42:10 +01:00
Pooya Parsa
2e329d0403 fix(browser): 400.html ~> 404.html 2020-11-11 01:19:29 +01:00