View Full Version : Using Sencha Cmd, how can I NOT build MyApp-all.css?

21 Feb 2014, 7:16 PM
We are using Sencha Cmd to build our ExtJS 4.2.1 app.

Using Sencha Cmd, how can I NOT build MyApp-all.css?

We are using a custom theme so we don't need the css file Sencha Cmd usually builds.

The app works great, but we need to stop the building of MyApp-all.css.

Thanks in advance.

21 Feb 2014, 7:24 PM
Edit the sencha.cfg file, add this to the bottom:


21 Feb 2014, 7:35 PM
And I don't want the <link> line in index.html that refers to the css file.

22 Feb 2014, 8:53 AM
any insights?

22 Feb 2014, 9:09 AM
It looks like that might cause Sencha Cmd to not build any sass files. I just don't want to build the ExtJS default sass, because the ext-all css is messing with my theme tree css. So I want to build my theme, but not the extjs css.

Should I delete the extjs sass files from my package/workspace.

22 Feb 2014, 9:21 AM
I can do the following to delete the entire resources directory and remove the link tag, but that's overkill as far as I am concerned.

<target name="-after-page">
<fileset id="html.fileset"

<replaceregexp replace="" flags="g"
<fileset refid="html.fileset"/>

<target name="-after-build">
<delete dir="${build.resources.dir}"/>