mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ui: esbuild tmpfix
This commit is contained in:
1 file changed
+3
-2
@@ -152,13 +152,14 @@ export default function (env: { watch?: boolean, production?: boolean, measure?:
|
||||
},
|
||||
{
|
||||
test: /\.[mc]?[jt]sx?$/,
|
||||
exclude: [/@types\//, /components\/message\//, /entry\.js/],
|
||||
// FIXME latest version on esbuild cannot handle `this` in `DOMAttachedObject` properly
|
||||
exclude: [/@types\//, /components\//, /pages\//, /entry\.js/],
|
||||
type: 'javascript/auto',
|
||||
use: [esbuildLoader()],
|
||||
},
|
||||
{
|
||||
test: /\.[mc]?[jt]sx?$/,
|
||||
include: [/components\/message\//, /entry\.js/],
|
||||
include: [/components\//, /pages\//, /entry\.js/],
|
||||
type: 'javascript/auto',
|
||||
use: [{
|
||||
loader: 'ts-loader',
|
||||
|
||||
Reference in new issue
Block a user