Nuxt/distributions/nuxt-ts/bin/nuxt-ts.js
2019-01-07 15:14:08 +03:30

11 lines
286 B
JavaScript
Executable File

#!/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()