Where is GRAILS asset pipeline configuration grails.assets.excludes?

Where should I configure grails.assets.excludes for the Grails asset pipeline?

According to http://bertramdev.github.io/asset-pipeline/guide/configuration.html, you can include or exclude Asset Pipeline files.

However, It does not specify the location to add. For example, do we put it in Config.groovy?

I never seem to use the following code:

index.gsp:

application.css:

*= require_tree ../stylesheets

testing.css (located in assets / stylesheets/testing.css):

body {background: green; }

Config.groovy (I assume this is where the configuration is added) :

grails.assets.excludes = ["**/testing.css"]

Except for one problem, everything else works: it will always Will not rule out testing.css.

Does anyone actually make it work? I have tried adding the configuration to BuildConfig.groovy, and it doesn’t work either.

Version in use:

> Grails 2.4.2
>Compilation”: asset- pipeline: 1.8.11″

For grails 3.1, it will be in the build.gradle file: < p>

assets {
minifyJs = true
minifyCss = true
excludes = ["**/*.html"]
}

Where should I configure grails.assets.excludes for the Grails asset pipeline?

According to http://bertramdev.github.io/asset-pipeline/guide/configuration.html, you can include or exclude Asset Pipeline files.

However, It does not specify the location to add. For example, do we put it in Config.groovy?

I never seem to use the following code:

index.gsp:

application.css:

*= require_tree ../stylesheets

testing.css (located in assets / stylesheets/testing.css):

body {background: green; }

Config.groovy (I assume this is where the configuration is added) :

grails.assets.excludes = ["**/testing.css"]

Except for one problem, everything else works: it will always Will not rule out testing.css.

Does anyone actually make it work? I have tried adding the configuration to BuildConfig.groovy, and it doesn’t work either.

Version in use:

> Grails 2.4.2
>Compilation”: asset- pipeline: 1.8.11″

For grails 3.1, it will be in the build.gradle file:

assets {
minifyJs = true
minifyCss = true
excludes = ["**/*.html"]
}

< p>

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 2345 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.