將部分依賴存放本地, 添加針對移動端的報錯提示, 修正 CryptoES 的導出以及 Utf8 的引用, 忽略編譯靜態庫文件
This commit is contained in:
@@ -14,7 +14,7 @@ import chalk from "chalk"
|
||||
const app = express()
|
||||
app.use((req, res, next) => {
|
||||
const url = req.originalUrl || req.url
|
||||
if (/\.(j|t)sx?$/.test(url))
|
||||
if (/\.m?(j|t)sx?$/.test(url))
|
||||
res.setHeader('Content-Type', 'application/javascript')
|
||||
next()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user