mirror of
https://github.com/hanzo-labs/wallet-2.git
synced 2026-10-30 18:54:05 +00:00
19 lines
487 B
Plaintext
19 lines
487 B
Plaintext
use('sake-bundle')
|
|
use('sake-outdated')
|
|
use('sake-publish')
|
|
use('sake-version')
|
|
|
|
task('fix-mjs', 'fix webpack MJS bug', () => {
|
|
// exec('cp node_modules/akasha/lib/akasha.mjs src/referential/akasha.js')
|
|
// exec('cp node_modules/hanzo.js/lib/hanzo.mjs src/hanzo/hanzo.js')
|
|
})
|
|
|
|
task('build', 'Build the project into a static page', ['fix-mjs'], () => {
|
|
exec('next build && next export')
|
|
})
|
|
|
|
task('watch', 'Start local watch server', ['fix-mjs'], () => {
|
|
exec('next -p 1987')
|
|
})
|
|
|