From 9ae69ceb9ac3ac87d774cc6b0c11cc6683d8b9c3 Mon Sep 17 00:00:00 2001 From: Jare Guo Date: Wed, 18 Apr 2018 12:37:45 +0800 Subject: [PATCH] fix modules.json --- cocos2d/particle/index.js | 1 + gulpfile.js | 2 +- modules.json | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos2d/particle/index.js b/cocos2d/particle/index.js index 4d0fd80e11..3ff9bff5c6 100644 --- a/cocos2d/particle/index.js +++ b/cocos2d/particle/index.js @@ -23,5 +23,6 @@ THE SOFTWARE. ****************************************************************************/ +require('./CCParticleAsset'); require('./CCParticleSystem'); require('./particle-system-assembler'); \ No newline at end of file diff --git a/gulpfile.js b/gulpfile.js index 40648736f6..f18b39d533 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -149,7 +149,7 @@ gulp.task('build', ['clean-cache', 'build-html5-preview', 'build-jsb']); gulp.task('default', ['build']); gulp.task('clean', function (done) { - Del(Path.join('./bin', '**/*'), done); + Del('./bin/**/*', done); }); //////////// diff --git a/modules.json b/modules.json index b4d79eaaa2..f0b1a5f5df 100644 --- a/modules.json +++ b/modules.json @@ -49,7 +49,6 @@ "name": "ParticleSystem", "entries": [ "./cocos2d/particle/index.js", - "./cocos2d/particle/CCParticleAsset.js" "./cocos2d/core/platform/CCSAXParser.js" ] },