Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: auto fallback to legacy build for node@6 support
- Loading branch information
Pooya Parsa
committed
Jun 1, 2018
1 parent
35ee689
commit 412ffd4
Showing
3 changed files
with
14 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
import 'babel-polyfill' | ||
|
||
import consola from 'consola' | ||
|
||
import core from './core' | ||
import builder from './builder' | ||
import * as Utils from './common/utils' | ||
|
||
consola.warn('You are using legacy build of Nuxt. Please consider upgrading your Node.js version to 8.x or later.') | ||
|
||
export default Object.assign({ Utils }, core, builder) |
412ffd4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
YES! Thanks a lot for adding this version check (and the legacy version). Will test the use of Nuxt 2 on Google Firebase Functions which only supports node v6.14.0