SCSS and JS libs Folder

I see the below folders in the project.


  1. Does all the js files inside lib required? I can just keep the bundle js file, right?
  2. If I use scss to customize colors, which files should be kept and which should be deleted?
  3. what should I do if I have to change colors? What files should I include?

There are lot of JS files inside the lib\ionic\js and scss folder which might increase the app size.Documents on this is not clear.

Please advice.

Hi Pureusothaman,

1-You must keep js files that you include in your index.html.
2- Scss files are not use in production (jst for dev).
3. You must keep css files that you include in your index.html.

Thanks a lot.

But after installing gulp and SASS, the slidebox stopped to work in my page :frowning:

I was happy that my app is complete ad now this issue came :’(

Hey @Purusothaman this comes back to my question on the dev process and how we could possible decrease the app size when shipped. Ionic Dev Build Process

As for your app breaking. Make sure you are referencing the new .css file complied by Sass which should look like this in your index.html:

 <link href="css/" rel="stylesheet">
1 Like

Thanks all.

The issue was due to another thing. I am such a dumb. Thanks all.