File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 92
92
loggingLevel : 'WARNING'
93
93
} ,
94
94
95
- //Allow CSS optimizations. Allowed values:
95
+ //Allow S optimizations. Allowed values:
96
96
//- "standard": @import inlining, comment removal and line returns.
97
97
//Removing line returns may have problems in IE, depending on the type
98
98
//of CSS.
104
104
//inlining. The value of this option should be a comma separated list
105
105
//of CSS file names to ignore. The file names should match whatever
106
106
//strings are used in the @import calls.
107
- cssImportIgnore : null ,
107
+ cssImportIgnore : null ,
108
+
109
+ //cssIn is typically used as a command line option. It can be used
110
+ //along with out to optimize a single CSS file.
111
+ cssIn : "path/to/main.css" ,
112
+ out : "path/to/css-optimized.css" ,
108
113
109
114
//Inlines the text for any text! dependencies, to avoid the separate
110
115
//async XMLHttpRequest calls to load those dependencies.
257
262
]
258
263
}
259
264
] ,
265
+
266
+
267
+ // If you only intend to optimize a module (and its dependencies), with
268
+ // a single file as the output, you can specify the module options inline.
269
+ // The name of the optimized file is specified by out.
270
+ name : "foo/bar/bop" ,
271
+ include : [ "foo/bar/bee" ] ,
272
+ out : "path/to/optimized-file.js" ,
260
273
261
274
//Wrap any build layer in a start and end text specified by wrap.
262
275
//Use this to encapsulate the module code so that define/require are
You can’t perform that action at this time.
0 commit comments