@lark-apaas/coding-html-devserver 0.1.3 → 0.1.4-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -49,6 +49,10 @@ function createHtmlViteConfig(opts = {}) {
49
49
  base,
50
50
  appType: 'mpa',
51
51
  clearScreen: false,
52
+ // .jsx 走客户端编译,跳过 esbuild 转换,原样 serve 给浏览器
53
+ esbuild: {
54
+ exclude: /\.jsx$/,
55
+ },
52
56
  server: {
53
57
  host,
54
58
  port,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/coding-html-devserver",
3
- "version": "0.1.3",
3
+ "version": "0.1.4-alpha.0",
4
4
  "description": "Dev/build toolchain for the miaoda-coding html (pure HTML) stack. Wraps vite (dev + HMR) behind a bin so the template never sees vite; build is pure-copy + platform-script injection + optional minify.",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",