Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Gulp or Webpack on Ionic 2?

$
0
0

@chrisbenseler wrote:

Does Ionic 2 use gulp or webpack to bundle assets?

I can't understand what's happening in a project Iḿ working in. It was working ok with these settings:

Cordova CLI: 6.0.0
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Version: 2.0.0-beta.3
Ionic CLI Version: 2.0.0-beta.19
Ionic App Lib Version: 2.0.0-beta.9

when I do ionic serve, the assets are built properly by webpack.

Then I started to work on it in another environment (I commited the project to a git repository, then in thje other machine installed the Ionic 2 and dependencies). When I run ionic serve, the assets are not "compiled" Example: app.bundle.js is not created).
Cordova CLI is 6.1.0, Ionic CLI Version is 2.0.0-beta.23 and Ionic App Lib Version is 2.0.0-beta.13.

The weird thing is that if I follow this tutorial http://ionicframework.com/docs/v2/getting-started/tutorial/ a new project works fine, but I noticed that the assets are bundled using gulp.

Am I missing something?

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>