vite-plugin-millennium-skin 1.0.7 → 1.0.8

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.
package/dist/index.js CHANGED
@@ -253,7 +253,7 @@ function de() {
253
253
  if (!/.+\.(js|ts|tsx)$/g.test(p)) return;
254
254
  const a = A(i, {
255
255
  sourceType: "module",
256
- plugins: ["typescript"]
256
+ plugins: ["typescript", "jsx"]
257
257
  });
258
258
  return G(a, {
259
259
  Program(r) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-millennium-skin",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "main": "./dist/index.js",
5
5
  "type": "module",
6
6
  "directories": {
package/src/ts/index.ts CHANGED
@@ -325,7 +325,7 @@ export default function millenniumSkin(): Plugin {
325
325
 
326
326
  const ast = parse(code, {
327
327
  sourceType: "module",
328
- plugins: ["typescript"],
328
+ plugins: ["typescript", "jsx"],
329
329
  });
330
330
  traver(ast, {
331
331
  Program(path) {