This repository was archived by the owner on Jan 18, 2022. It is now read-only.
File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -185,14 +185,18 @@ export default function vue(opts: VuePluginOptions = {}): Plugin {
185
185
}
186
186
187
187
const shouldExtractCss = opts . css === false
188
- const customBlocks : string [ ] = [ ]
188
+ const customBlocks : string [ ] = [ ]
189
189
190
190
if ( opts . blackListCustomBlocks ) {
191
- console . warn ( '`blackListCustomBlocks` option is deprecated use `customBlocks`. See https://rollup-plugin-vue.vuejs.org/options.html#customblocks.' )
191
+ console . warn (
192
+ '`blackListCustomBlocks` option is deprecated use `customBlocks`. See https://rollup-plugin-vue.vuejs.org/options.html#customblocks.'
193
+ )
192
194
customBlocks . push ( ...opts . blackListCustomBlocks . map ( tag => '!' + tag ) )
193
195
}
194
196
if ( opts . whiteListCustomBlocks ) {
195
- console . warn ( '`whiteListCustomBlocks` option is deprecated use `customBlocks`. See https://rollup-plugin-vue.vuejs.org/options.html#customblocks.' )
197
+ console . warn (
198
+ '`whiteListCustomBlocks` option is deprecated use `customBlocks`. See https://rollup-plugin-vue.vuejs.org/options.html#customblocks.'
199
+ )
196
200
customBlocks . push ( ...opts . whiteListCustomBlocks )
197
201
}
198
202
const isAllowed = createCustomBlockFilter ( opts . customBlocks || customBlocks )
You can’t perform that action at this time.
0 commit comments