ui: SharedWorker notification

This commit is contained in:
undefined committed 2022-08-31 11:40:32 +08:00
1 parent 4e9e6ddbcb
commit 023a13b066
4 files changed
+125 -31

No files matched your search

+12 -1
View File
@@ -146,10 +146,21 @@ export default function (env: { production?: boolean, measure?: boolean } = {})
},
{
test: /\.[mc]?[jt]sx?$/,
exclude: /@types\//,
exclude: [/@types\//, /components\/message\//],
type: 'javascript/auto',
use: [esbuildLoader()],
},
{
test: /\.[mc]?[jt]sx?$/,
include: /components\/message\//,
type: 'javascript/auto',
use: [{
loader: 'ts-loader',
options: {
transpileOnly: true,
},
}],
},
{
test: /\.styl$/,
use: [extractCssLoader(), cssLoader(), postcssLoader(), stylusLoader()],