mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 03:05:12 +00:00
fix deprecation warning
This commit is contained in:
@@ -134,7 +134,7 @@ export default async function dev() {
|
||||
error?: (error: Error) => void;
|
||||
result: (stats: any) => void;
|
||||
}) {
|
||||
compiler.plugin('invalid', (filename: string) => {
|
||||
compiler.hooks.invalid.tap('sapper', (filename: string) => {
|
||||
invalid(filename);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user