Skip to content

Commit c11c4db

Browse files
committed
fix: updated At Rule
1 parent 7c3fa1d commit c11c4db

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

build/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ const baseConfig = {
1010
'fs-extra',
1111
'vue',
1212
'css-tree',
13-
'estree-walker',
1413
'fast-glob',
1514
'fs-extra',
1615
'magic-string',
1716
],
17+
noExternal: ['estree-walker'],
1818
format: ['cjs', 'esm'],
1919
clean: true,
20-
minify: true,
20+
minify: false,
2121
dts: false,
2222
outDir: path.resolve(process.cwd(), '../dist'),
2323

packages/core/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const unplugin = createUnplugin<Options>(
4141
}
4242
return code
4343
} catch (err: unknown) {
44-
this.error(`${name} ${err}`)
44+
this.error(`${NAME} ${err}`)
4545
}
4646
},
4747
},
@@ -60,7 +60,7 @@ const unplugin = createUnplugin<Options>(
6060

6161
return code
6262
} catch (err: unknown) {
63-
this.error(`${name} ${err}`)
63+
this.error(`${NAME} ${err}`)
6464
}
6565
},
6666
async writeBundle(options: OutputOptions, bundle: IBundle) {

packages/core/parser/parser-import.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const innerAtRule = 'media,extend,at-root,debug,warn,forward,mixin,include,function,error'
1+
const innerAtRule = 'media,extend,at-root,debug,warn,forward,mixin,include,function,error,keyframes,font-face,page,supports,namespace,return,if,else,for,while,each,content'
22
export enum ParserState {
33
Initial,
44
InlineComment,

0 commit comments

Comments
 (0)