Commit graph

156 commits

Author SHA1 Message Date
Endi
373d17ee72
refactor(v2): simplify code by removing wip i18n & translation (#1431)
* refactor(v2): remove i18n & versioning + cleaner code

* totally remove i18n and versioning from plugin
2019-05-02 17:24:47 +07:00
Endilie Yacop Sucipto
16bec1cb47 refactor(v2): use hash to compare generated content (#1397) 2019-04-26 09:25:00 -07:00
Yangshun Tay
96cb4672d5 feat(v2): implement ComponentCreator (#1366)
* v2(feat): convert blog to view-driven content queries

* feat(v2): port blog to use ContentRenderer

* misc(v2): fix test and change ContentRenderer url

* avoid chunkName collision

* avoid chunkname collision more

* fix(v2): fix content-renderer ssr problem (#1367)

* wip

* avoid chunk names collision

* ContentRenderer is a wrapper for Loadable

* convert docs and pages

* nits and rename

* rename routeModules -> modules

* remove lodash from component creator

* resolve chunk not being picked up correctly

* add comment for explanation

* small refactoring
2019-04-16 22:18:29 +08:00
Endilie Yacop Sucipto
f0dc68d01a
feat(v2): code-split metadata out of routes (#1359)
* move assets-manifest to generatedFilesDir

* rename generateChunkName -> genChunkName

* implement docuHash and genComponentName

* feat(v2): code-split routes and metadata

* don't code split component code out

* simplify metadata path

* nits

* fix test

* address review
2019-04-13 12:37:05 +07:00
Endilie Yacop Sucipto
5872e2dd91
fix(v2): windows compatibility (#1353) 2019-04-10 15:30:30 +07:00
Yangshun Tay
4ac4a7c671 misc(v2): make packages dir more consistent 2019-04-01 22:18:44 -07:00