Nuxt/lib/builder
Pim 65f4a030f4 refactor generator + cli tests (#2205)
* Rename this.generateRoutes to this.staticRoutes

* Refactor generator to separate logic

* Move routeCreated hook to generateRoute

Add routeFailed hook for unhandled exceptions

Keep page errors separately until page hooks have been called

* Move debug and report statements to hooks

* pageErrors can be a const

Push pageErrors to errors

* fix done hook, errors are 2nd param

* Add generator hooks to nuxt-build for spa mode

* Added a cli integration test for bin/nuxt-(build|start|generate)

* Removed unnecessary waitFor

* Use pify instead util.promisify for v6 compatibility

* Fix windows build

You cant execute .js files directly on Windows/Appveyor so call node with nuxt-*.js file as argument

* Fix windows build (2)

Use correct folder separators in text search

* Fix possible timing quirck in children.path.test
2017-11-24 02:01:54 +03:30
..
webpack build.styleResourcesLoader 2017-11-21 02:56:14 +03:00
builder.js Merge branch 'dev' into nuxt-dev-fix-double-compile 2017-11-23 12:50:28 +01:00
generator.js refactor generator + cli tests (#2205) 2017-11-24 02:01:54 +03:30
index.js [internal] use es6 exports 2017-08-10 14:08:31 +04:30