mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 17:43:59 +00:00
98c1922770
also prefer lazy requires. [release]
11 lines
286 B
JavaScript
11 lines
286 B
JavaScript
#!/usr/bin/env node
|
|
|
|
// Globally indicate we are running in ts mode
|
|
process.env.NUXT_TS = 'true'
|
|
|
|
// https://github.com/TypeStrong/ts-node
|
|
require('ts-node').register()
|
|
|
|
const suffix = require('../package.json').name.includes('-edge') ? '-edge' : ''
|
|
require('@nuxt/cli' + suffix).run()
|