Nuxt/distributions/nuxt/bin/nuxt.js
pooya parsa 98c1922770 fix(dist): use -edge suffix to require cli
also prefer lazy requires. [release]
2019-01-05 00:40:18 +03:30

5 lines
137 B
JavaScript
Executable File

#!/usr/bin/env node
const suffix = require('../package.json').name.includes('-edge') ? '-edge' : ''
require('@nuxt/cli' + suffix).run()