mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(demos): fix demo entries
This commit is contained in:
@ -522,10 +522,6 @@ gulp.task('demos', ['bundle.demos'], function() {
|
||||
return merge([demosStream, cssStream]);
|
||||
});
|
||||
|
||||
gulp.task('demos.dev', function() {
|
||||
|
||||
});
|
||||
|
||||
/**
|
||||
* Builds necessary files for each demo then bundles them using webpack. Unlike
|
||||
* e2e tests, demos are bundled for performance (but have a slower build).
|
||||
@ -542,7 +538,7 @@ gulp.task('bundle.demos', ['build.demos', 'transpile', 'copy.libs', 'sass', 'fon
|
||||
|
||||
// add our bundle entry, removing previous if necessary
|
||||
// since config is cached
|
||||
if (config.entry.length > 4) {
|
||||
if (config.entry.length > 3) {
|
||||
config.entry.pop();
|
||||
}
|
||||
config.entry.push('./' + file);
|
||||
|
Reference in New Issue
Block a user