File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ export default {
47
47
},
48
48
49
49
// Preprocessors will be applied in the order passed down to preprocess
50
- // Default is ( markup, then script, then style)
51
- orderPreprocessors : false ,
50
+ // Default is markup, then script, then style
51
+ strictOrder : false ,
52
52
53
53
// Emit CSS as "files" for other plugins to process
54
54
emitCss: true ,
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const pluginOptions = {
31
31
extensions : true ,
32
32
emitCss : true ,
33
33
preprocess : true ,
34
- orderPreprocessors : true ,
34
+ strictOrder : true ,
35
35
36
36
// legacy — we might want to remove/change these in a future version
37
37
onwarn : true ,
@@ -228,7 +228,7 @@ module.exports = function svelte(options = {}) {
228
228
Object . assign ( preprocessOptions , { filename : id } )
229
229
) . then ( code => code . toString ( ) ) ;
230
230
} else {
231
- if ( options . orderPreprocessors ) {
231
+ if ( options . strictOrder ) {
232
232
preprocessPromise = options . preprocess . reduce ( ( acc , cur ) => {
233
233
return Promise . resolve ( acc ) . then ( code => {
234
234
return preprocess (
You can’t perform that action at this time.
0 commit comments