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 |
|
Pooya Parsa
|
4f74119739
|
fix: fix issues with router.base support
|
2020-11-11 00:04:33 +01:00 |
|
Pooya Parsa
|
dc6154fea8
|
cloudflare: generate package-lock.json
|
2020-11-10 23:38:22 +01:00 |
|
Pooya Parsa
|
2a6d4f38d0
|
fix(worker): smaller and working hrtime polyfill
|
2020-11-10 23:21:00 +01:00 |
|
Pooya Parsa
|
72b877fe7c
|
fix: fix worker polyfill by adding performance
|
2020-11-10 21:29:46 +01:00 |
|
Pooya Parsa
|
7347e8ebda
|
fix(vercel): generate to config/routes.json
|
2020-11-10 20:43:33 +01:00 |
|
Pooya Parsa
|
2c4b857893
|
fix(vercel): add /index suffix to dst
|
2020-11-10 20:35:56 +01:00 |
|
Pooya Parsa
|
a6c4a7e2cd
|
fix(vercel): add missing node segment
|
2020-11-10 20:24:05 +01:00 |
|
Pooya Parsa
|
c7b88defa4
|
feat: update vercel and improve internals
|
2020-11-10 19:19:24 +01:00 |
|
Pooya Parsa
|
1df092d08e
|
fix(vercel): add api prefix
|
2020-11-09 19:49:58 +01:00 |
|
Pooya Parsa
|
ffceb25ca2
|
update vercel target
|
2020-11-09 19:47:38 +01:00 |
|
Pooya Parsa
|
55f25aa884
|
fix windows issues
|
2020-11-09 15:31:57 +01:00 |
|
pooya parsa
|
4b831fbd8d
|
feat(worker): support process.hrtime
|
2020-11-09 01:41:00 +01:00 |
|
pooya parsa
|
a2413dc5fd
|
fix jiti issue
should be fixed on jiti later on to support syntax
|
2020-11-09 00:28:30 +01:00 |
|
Daniel Roe
|
fc0934dd0c
|
fix: add more types (#16)
|
2020-11-09 00:19:23 +01:00 |
|
Daniel Roe
|
799e872b80
|
docs: node docs and small tweaks to limitations (#12)
* docs: node docs and small tweaks to limitations
* docs: update to use new entrypoint name
|
2020-11-07 11:51:48 +01:00 |
|
Pooya Parsa
|
5b8314245c
|
feat: make cloudflare working
|
2020-11-06 17:40:00 +01:00 |
|
Pooya Parsa
|
25290b7aa0
|
fix script minification
|
2020-11-06 15:07:35 +01:00 |
|
Pooya Parsa
|
10c306aee0
|
fix vercel env detection
|
2020-11-06 15:05:11 +01:00 |
|
Pooya Parsa
|
3fa6717882
|
improve config extending
|
2020-11-06 14:46:17 +01:00 |
|
Pooya Parsa
|
91caf2c470
|
feat: support targer functions to consume nuxtOptions
|
2020-11-06 13:55:30 +01:00 |
|
Pooya Parsa
|
5647d2dad0
|
add default files to ignore for smart rebuild
|
2020-11-06 13:41:33 +01:00 |
|
Pooya Parsa
|
b86eb3d741
|
ignore target dir too
|
2020-11-06 13:14:49 +01:00 |
|
Pooya Parsa
|
d6aea1e0df
|
fix: handle if serverless is not set in config
|
2020-11-06 12:51:29 +01:00 |
|
Pooya Parsa
|
374487ea29
|
fix: use html.contents
|
2020-11-06 12:50:45 +01:00 |
|
Pooya Parsa
|
00ccbdcfd8
|
generate vercel into /api
|
2020-11-06 12:43:42 +01:00 |
|
Pooya Parsa
|
c99abd06ab
|
chore: default outName to _nuxt.js
|
2020-11-06 12:38:53 +01:00 |
|
Pooya Parsa
|
ce71ec1347
|
browser: inline sw register script
|
2020-11-06 10:57:04 +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
|
ddccc9cb78
|
feat: detect target
Co-authored-by: Sebasiten Chopin <seb@nuxtjs.com>
|
2020-11-06 10:12:57 +01:00 |
|
Pooya Parsa
|
5fdc6ccfb6
|
chore: fix eslint issues
|
2020-11-05 22:59:14 +01:00 |
|
Pooya Parsa
|
04a25fc527
|
feat(browser): inject script to js template
|
2020-11-05 22:56:40 +01:00 |
|
Pooya Parsa
|
6e1678316e
|
feat: inject sw script to pages
|
2020-11-05 22:40:25 +01:00 |
|
Pooya Parsa
|
360bba7d80
|
fix only empty slsDir
|
2020-11-05 22:24:36 +01:00 |
|
Pooya Parsa
|
9d02552c3c
|
feat: make browser target working again
|
2020-11-05 22:23:24 +01:00 |
|
Pooya Parsa
|
4185ec896f
|
fix: extend routes from serverless.static
|
2020-11-05 21:42:40 +01:00 |
|
Pooya Parsa
|
a4952a057c
|
fix: add generate.routes and disable crawler
|
2020-11-05 20:13:50 +01:00 |
|
Pooya Parsa
|
415db060b0
|
feat: support staticAssetsBase
|
2020-11-05 19:53:17 +01:00 |
|
Pooya Parsa
|
005421e04d
|
NUXT_SLS_TARGET
|
2020-11-05 17:49:44 +01:00 |
|
Pooya Parsa
|
4c485ba33a
|
chore: enable inlineChunks by default
|
2020-11-05 17:33:51 +01:00 |
|
Pooya Parsa
|
274c98f5aa
|
rename default ssr entry to server.js
|
2020-11-05 16:36:31 +01:00 |
|
Pooya Parsa
|
f2d1064560
|
refactor: simplify targets to node and worker
|
2020-11-05 15:12:35 +01:00 |
|
Pooya Parsa
|
8f5534c90a
|
refactor: simplify usage with single target
|
2020-11-05 14:38:15 +01:00 |
|
Daniel Roe
|
d4624abfb9
|
fix: add prefix to dynamic imports name (#5)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
|
2020-11-05 13:28:40 +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
|
e0505568aa
|
feat: whitelist static routes
|
2020-11-05 13:02:57 +01:00 |
|
Pooya Parsa
|
486c881b2d
|
feat: rewrite as nuxt module
|
2020-11-05 12:28:39 +01:00 |
|
Pooya Parsa
|
0245bd65de
|
feat: generate public (dist/)
|
2020-11-04 20:01:53 +01:00 |
|
Pooya Parsa
|
425941d1b4
|
move artifacts to {buildDir}/sls
|
2020-11-04 19:19:34 +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
|
05e8d538db
|
refactor: cli ~> build, config
|
2020-11-04 13:34:18 +01:00 |
|
Pooya Parsa
|
0bcee8202a
|
chore: fix package bin
|
2020-11-04 12:37:05 +01:00 |
|
Pooya Parsa
|
93f265d5e0
|
refactor: rename to serverless and improve struct
|
2020-11-04 12:33:19 +01:00 |
|
Pooya Parsa
|
904f813ae9
|
fix outDir default
|
2020-11-04 03:22:58 +01:00 |
|
Pooya Parsa
|
bda5805b2d
|
perf: short circuit window type to recuce bundle size
|
2020-11-04 03:14:39 +01:00 |
|
Pooya Parsa
|
040af4ea4e
|
feat: mock stream
|
2020-11-04 03:06:23 +01:00 |
|
Pooya Parsa
|
bec1c8edfa
|
fix: host ~> hostname
|
2020-11-04 02:15:42 +01:00 |
|
Pooya Parsa
|
fac79cb091
|
fix return error
|
2020-11-04 01:31:34 +01:00 |
|
Pooya Parsa
|
fab1326cd8
|
automatically reddirect to secure origin
|
2020-11-04 01:28:45 +01:00 |
|
Pooya Parsa
|
885f0aba66
|
fast replace instead of reload
|
2020-11-04 01:24:40 +01:00 |
|
Pooya Parsa
|
10fddd223e
|
always show loading
|
2020-11-04 00:52:23 +01:00 |
|
Pooya Parsa
|
2f329dec26
|
update index.html
|
2020-11-04 00:46:01 +01:00 |
|
Pooya Parsa
|
dd7f32324f
|
preload service-worker
|
2020-11-04 00:43:16 +01:00 |
|
Pooya Parsa
|
c43cf33c95
|
fast claim all clients
|
2020-11-04 00:13:45 +01:00 |
|
Pooya Parsa
|
a8db45a8ba
|
fix payload for nuxt2
|
2020-11-03 23:38:46 +01:00 |
|
Pooya Parsa
|
55819d52e0
|
reload sw page after loading
|
2020-11-03 23:27:38 +01:00 |
|
Pooya Parsa
|
1a6a4cb248
|
fix: add critical css
|
2020-11-03 23:25:37 +01:00 |
|
Pooya Parsa
|
ae0fd1b108
|
refactor: rename cli to node and export render
|
2020-11-03 23:20:19 +01:00 |
|
Pooya Parsa
|
2dbaae6b7d
|
feat: ssr with service worker
|
2020-11-03 23:14:32 +01:00 |
|
Pooya Parsa
|
e6fa415e5a
|
feat: working cloudflare with vue2 and async chunks
|
2020-11-03 21:51:11 +01:00 |
|
Pooya Parsa
|
69b810a58e
|
fix typo
|
2020-11-03 21:28:46 +01:00 |
|
Pooya Parsa
|
d441d79c6c
|
refactor: move common logic to server
|
2020-11-03 21:26:27 +01:00 |
|
Pooya Parsa
|
cbae59a88b
|
feat: dynamic-require rollup plugin
|
2020-11-03 20:55:36 +01:00 |
|
Pooya Parsa
|
ec8468635b
|
fix timing script
|
2020-11-03 18:09:39 +01:00 |
|
Pooya Parsa
|
ee27e3b5fe
|
allow disabling async importer
|
2020-11-02 15:54:18 +01:00 |
|
Pooya Parsa
|
ad4fc18ab8
|
feat: dynamic chunk importer
|
2020-11-02 15:42:27 +01:00 |
|
Pooya Parsa
|
9959411f60
|
export targets to individual dir
|
2020-11-02 14:40:56 +01:00 |
|
Pooya Parsa
|
b03eef0ceb
|
make requireDynamic pattern more exact
|
2020-11-02 14:12:33 +01:00 |
|
Pooya Parsa
|
e17b0c5787
|
preserve webpack dynamic requires
|
2020-11-02 14:11:26 +01:00 |
|
Pooya Parsa
|
ef072d972c
|
fix typo
|
2020-11-02 13:51:57 +01:00 |
|
Pooya Parsa
|
0c4225238a
|
configurable nuxt version
|
2020-11-02 13:50:40 +01:00 |
|
Pooya Parsa
|
54bb617474
|
fix resolution when linking
|
2020-11-02 13:12:39 +01:00 |
|
Pooya Parsa
|
87df0ac986
|
ignore alias import for now
|
2020-11-02 02:41:55 +01:00 |
|
Pooya Parsa
|
82399259db
|
tree-shake extra deps for vue-server-renderer
|
2020-11-02 01:54:45 +01:00 |
|
Pooya Parsa
|
9b7016059b
|
fix vue2 import
|
2020-11-02 01:54:31 +01:00 |
|
Pooya Parsa
|
9e5bb2a580
|
fix _renderToString import for vue2
|
2020-11-02 01:37:57 +01:00 |
|
Pooya Parsa
|
aea527fd87
|
fix typescript support
|
2020-11-02 01:31:43 +01:00 |
|
Pooya Parsa
|
a9a262f258
|
fix: ensure builds are relative to buildDir
|
2020-11-02 01:13:35 +01:00 |
|
Pooya Parsa
|
ef4e5443aa
|
fix: don't set _registeredComponents
|
2020-11-02 01:11:33 +01:00 |
|
Pooya Parsa
|
4908a963ca
|
initial commit
|
2020-11-02 00:17:44 +01:00 |
|