mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core&ui: remove deprecated apis
This commit is contained in:
26 files changed
+90
-249
No files matched your search
+5
-1
@@ -20,7 +20,7 @@ const compilerOptionsBase = {
|
||||
module: 'preserve',
|
||||
esModuleInterop: true,
|
||||
moduleResolution: 'bundler',
|
||||
jsx: 'react',
|
||||
jsx: 'react-jsx',
|
||||
sourceMap: false,
|
||||
composite: true,
|
||||
strictBindCallApply: true,
|
||||
@@ -70,6 +70,10 @@ for (const name of ['plugins', 'modules']) {
|
||||
}
|
||||
// Write an empty file to make eslint happy
|
||||
fs.writeFileSync(path.resolve(process.cwd(), name, 'nop.ts'), 'export default {};\n');
|
||||
fs.writeFileSync(
|
||||
path.resolve(process.cwd(), name, 'vue.d.ts'),
|
||||
'declare module "*.vue" {\n const content: any;\n export default content;\n}\n',
|
||||
);
|
||||
}
|
||||
|
||||
const modules = [
|
||||
|
||||
Reference in new issue
Block a user