diff --git a/playground/transform-plugin/index.js b/playground/transform-plugin/index.js index 8e71251af61c5b..ac3da49609d222 100644 --- a/playground/transform-plugin/index.js +++ b/playground/transform-plugin/index.js @@ -1,3 +1,2 @@ // 'TRANSFORM_COUNT' is injected by the transform plugin -// eslint-disable-next-line no-undef document.getElementById('transform-count').innerHTML = TRANSFORM_COUNT diff --git a/playground/transform-plugin/vite.config.js b/playground/transform-plugin/vite.config.js index 18cbcfffbe75d8..0b9ddb97c34304 100644 --- a/playground/transform-plugin/vite.config.js +++ b/playground/transform-plugin/vite.config.js @@ -1,5 +1,5 @@ +const { resolve } = require('node:path') const { normalizePath } = require('vite') -const { resolve } = require('path') let transformCount = 1