Commit Graph

41 Commits

Author SHA1 Message Date
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
Pooya Parsa
536155825b fix: add hack for encoding 2020-11-14 01:49:37 +01:00
Pooya Parsa
a5e70eb4b0 fix: use native fetch when node is disabled 2020-11-14 01:11: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
989f6811c2 feat: better process polyfill 2020-11-13 18:45:03 +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
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
af92c53dcd feat: support serverMiddleware (#26)
* feat: support node req, res claases in all envs

* feat: support serverMiddleware
2020-11-12 19:20:55 +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
4f74119739 fix: fix issues with router.base support 2020-11-11 00:04:33 +01:00
Pooya Parsa
c7b88defa4 feat: update vercel and improve internals 2020-11-10 19:19:24 +01:00
Pooya Parsa
5b8314245c feat: make cloudflare working 2020-11-06 17:40:00 +01:00
Pooya Parsa
3fa6717882 improve config extending 2020-11-06 14:46:17 +01:00
Pooya Parsa
47d7644b72 refactor: move targets to src, remove template and improve runtime 2020-11-06 10:51:35 +01:00
Pooya Parsa
5fdc6ccfb6 chore: fix eslint issues 2020-11-05 22:59:14 +01:00
Pooya Parsa
9d02552c3c feat: make browser target working again 2020-11-05 22:23:24 +01:00
Pooya Parsa
415db060b0 feat: support staticAssetsBase 2020-11-05 19:53:17 +01:00
Pooya Parsa
274c98f5aa rename default ssr entry to server.js 2020-11-05 16:36:31 +01:00
Pooya Parsa
8f5534c90a refactor: simplify usage with single target 2020-11-05 14:38:15 +01:00
Daniel Roe
dfdd466270 feat: improve types (#6)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2020-11-05 13:26:00 +01:00
Pooya Parsa
486c881b2d feat: rewrite as nuxt module 2020-11-05 12:28:39 +01:00
Pooya Parsa
114b5406ac feat: use dynamic require for node targets 2020-11-04 19:19:20 +01:00
Pooya Parsa
16141efe25 fix: resolve runtime provided dependencies 2020-11-04 14:52:12 +01:00
Pooya Parsa
5538f342f7 refactror: separate lib 2020-11-04 14:15:38 +01:00
Pooya Parsa
93f265d5e0 refactor: rename to serverless and improve struct 2020-11-04 12:33:19 +01:00