@aippy/vite-plugins 0.2.2 → 0.2.4

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.
@@ -96,6 +96,8 @@ function C(s = {}) {
96
96
  return {
97
97
  name: "vite-plugin-aippy-preload",
98
98
  apply: "build",
99
+ // Ensure this plugin runs after other plugins (like viteSingleFile)
100
+ enforce: "post",
99
101
  async closeBundle() {
100
102
  try {
101
103
  const n = await j(
@@ -220,6 +220,8 @@ function q(a = {}) {
220
220
  return {
221
221
  name: "vite-plugin-asset-constants",
222
222
  apply: "build",
223
+ // Ensure this plugin runs before other plugins to modify source files before build
224
+ enforce: "pre",
223
225
  async buildStart() {
224
226
  if (a.devMode)
225
227
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aippy/vite-plugins",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Vite plugins for Aippy projects - Asset management and component tagging",
5
5
  "private": false,
6
6
  "type": "module",