Skip to content

Commit bd183ac

Browse files
committed
Support require instruction as module import
1 parent 04f23a0 commit bd183ac

File tree

6 files changed

+3523
-1660
lines changed

6 files changed

+3523
-1660
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
#JS
22
node_modules/
33
dist/
4+
5+
#VIM
6+
*.sw?

build/gulpfile.coffee

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,7 @@ gulp.task 'sandboxServer', ->
124124
child.on 'close', (code) -> console.log(code.toString())
125125

126126
gulp.task 'sandbox', (gulp.series 'build', (gulp.parallel 'watch', 'sandboxServer'))
127+
128+
gulp.task 'mocha', ->
129+
runChild 'npx mocha ../test/**/*.spec.js'
130+
gulp.task 'test', (gulp.series 'build', 'mocha')

0 commit comments

Comments
 (0)