We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f3b94d commit 736a90dCopy full SHA for 736a90d
template/eslint/eslint.config.js.ejs
@@ -26,6 +26,9 @@ const config = [
26
languageOptions: {
27
globals: {
28
...globals.node,
29
+ wx: 'readonly',
30
+ getApp: 'readonly',
31
+ getCurrentPages: 'readonly',
32
},
33
34
<%_ if (needsPrettier) { _%>
template/typescript/build.js
@@ -264,7 +264,7 @@ async function processStyle(filePath) {
264
}
265
266
const cb = async (filePath) => {
267
- if (filePath.endsWith('.ts')) {
+ if (filePath.endsWith('.ts') || filePath.endsWith('.js')) {
268
await processScript(filePath);
269
return;
270
0 commit comments