{"_id":"vite-plugin-wordpress","_rev":"4-4b03c6a3ef87a3d3055a719537517144","name":"vite-plugin-wordpress","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.1":{"name":"vite-plugin-wordpress","version":"1.0.1","keywords":["plugin","vite","wordpress"],"author":{"name":"Julien Ramard","email":"jramard@addviso.com"},"license":"MIT","_id":"vite-plugin-wordpress@1.0.1","maintainers":[{"name":"juster","email":"julien.ramard@gmail.com"}],"homepage":"https://github.com/jramard-addviso/vite-plugin-wordpress#readme","bugs":{"url":"https://github.com/jramard-addviso/vite-plugin-wordpress/issues"},"dist":{"shasum":"c5e0b3d4a1de0c8de60f4baabc1c3eddc460f370","tarball":"https://registry.npmjs.org/vite-plugin-wordpress/-/vite-plugin-wordpress-1.0.1.tgz","fileCount":7,"integrity":"sha512-ZW/xftaSWYPStR+S5ugAApblRNR6timvQ8y1Xj7Sz1pE5HhKmSX+okGugIAemOSg/kNLEXEiMHqffIki0qhjIw==","signatures":[{"sig":"MEYCIQC+gR1fFBzDz7TjVoPG1cLIj/oqT++Gpll9vHEuBfUEqwIhAIAn+dg+MKxeSWSpcp1CoBaFPCt+V88WvO+Teat/U3Z0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11922},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"2ce1996736fe9654743885c9c8b88ee45bcffecb","scripts":{"ci":"npm run build && npm run check-format && npm run test","test":"vitest run","build":"tsup","format":"prettier --write .","check-format":"prettier --check .","local-release":"changeset version && changeset publish","prepublishOnly":"npm run ci"},"_npmUser":{"name":"juster","email":"julien.ramard@gmail.com"},"repository":{"url":"git+https://github.com/jramard-addviso/vite-plugin-wordpress.git","type":"git"},"_npmVersion":"10.9.2","description":"A plugin to properly integrate a Vite workflow into WordPress.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"vite-plugin-live-reload":"^3.0.5"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.8.3","@changesets/cli":"^2.29.5"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-wordpress_1.0.1_1753783289772_0.20750284557437793","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"vite-plugin-wordpress","version":"1.0.2","keywords":["plugin","vite","wordpress"],"author":{"name":"Julien Ramard","email":"jramard@addviso.com"},"license":"MIT","_id":"vite-plugin-wordpress@1.0.2","maintainers":[{"name":"juster","email":"julien.ramard@gmail.com"}],"homepage":"https://github.com/jramard-addviso/vite-plugin-wordpress#readme","bugs":{"url":"https://github.com/jramard-addviso/vite-plugin-wordpress/issues"},"dist":{"shasum":"180fc73ccb152c5d06852cf1f5c87ba5889a780f","tarball":"https://registry.npmjs.org/vite-plugin-wordpress/-/vite-plugin-wordpress-1.0.2.tgz","fileCount":7,"integrity":"sha512-zYByQyVteZ+v86zzDkv8mpof85iVrDHV/HiMaZT6dkWlTnDVK638wyGPOIzV2c0zT4P7ON/ah6qCRZDGgcU3uQ==","signatures":[{"sig":"MEYCIQDBub7uITUIhM8cxx2Zv34GOm8EcxnCqeGcmz4BTm2giwIhANWtKzQAJlYimXS7cMB91UPPQnI1iNFWyW/d9D5bFvXs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11973},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"728132740d586cae18a289971c636aef21666b65","scripts":{"ci":"npm run build && npm run check-format && npm run test","test":"vitest run","build":"tsup","format":"prettier --write .","check-format":"prettier --check .","local-release":"changeset version && changeset publish","prepublishOnly":"npm run ci"},"_npmUser":{"name":"juster","email":"julien.ramard@gmail.com"},"repository":{"url":"git+https://github.com/jramard-addviso/vite-plugin-wordpress.git","type":"git"},"_npmVersion":"10.9.2","description":"A plugin to properly integrate a Vite workflow into WordPress.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"vite-plugin-live-reload":"^3.0.5"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","vitest":"^3.2.4","prettier":"^3.6.2","typescript":"^5.8.3","@changesets/cli":"^2.29.5"},"peerDependencies":{"vite":">=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-wordpress_1.0.2_1753791056527_0.07144618274354908","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"vite-plugin-wordpress","version":"1.0.3","keywords":["plugin","vite","wordpress"],"author":{"name":"Julien Ramard","email":"jramard@addviso.com"},"license":"MIT","_id":"vite-plugin-wordpress@1.0.3","maintainers":[{"name":"juster","email":"julien.ramard@gmail.com"}],"homepage":"https://github.com/jramard-addviso/vite-plugin-wordpress#readme","bugs":{"url":"https://github.com/jramard-addviso/vite-plugin-wordpress/issues"},"dist":{"shasum":"3ab3111712dfb18f3a697d5036ae1c3fe09b7aba","tarball":"https://registry.npmjs.org/vite-plugin-wordpress/-/vite-plugin-wordpress-1.0.3.tgz","fileCount":7,"integrity":"sha512-v0YzZyN7bEs/BNGvwFrSzf4S+fNkWXU6FhPrbHGMi+c+fho6SkJ22e5OEWFdRoa2sVSMZF+oYRIwiiUjalG/yQ==","signatures":[{"sig":"MEYCIQDaGzuiHkObiU3ng7zXyOi5XLCruMv87H/fwUKO+twvCwIhAIslXEIBIZXfTRdzYEtWOH7D8TRlXZ6oHvl0LInqEvMr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10521},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"81a77982627ff08e4c30fe5a803da50612187144","scripts":{"ci":"npm run build && npm run check-format && npm run test","test":"vitest run","build":"tsdown","format":"prettier --write .","check-format":"prettier --check .","local-release":"changeset version && changeset publish","prepublishOnly":"npm run ci"},"_npmUser":{"name":"juster","email":"julien.ramard@gmail.com"},"repository":{"url":"git+https://github.com/jramard-addviso/vite-plugin-wordpress.git","type":"git"},"_npmVersion":"11.13.0","description":"A plugin to properly integrate a Vite workflow into WordPress.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"vite-plugin-live-reload":"^3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.2","vitest":"^4.1.8","prettier":"^3.8.3","typescript":"^6.0.3","@types/node":"^25.9.2","@changesets/cli":"^2.31.0"},"peerDependencies":{"vite":">=5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-wordpress_1.0.3_1781009984069_0.667838147936666","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"vite-plugin-wordpress","version":"1.0.4","description":"A plugin to properly integrate a Vite workflow into WordPress.","keywords":["plugin","vite","wordpress"],"homepage":"https://github.com/jramard-addviso/vite-plugin-wordpress#readme","bugs":{"url":"https://github.com/jramard-addviso/vite-plugin-wordpress/issues"},"author":{"name":"Julien Ramard","email":"jramard@addviso.com"},"repository":{"type":"git","url":"git+https://github.com/jramard-addviso/vite-plugin-wordpress.git"},"type":"module","main":"dist/index.cjs","module":"dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"types":"dist/index.d.mts","license":"MIT","devDependencies":{"@changesets/cli":"^2.31.0","@types/node":"^25.9.2","prettier":"^3.8.3","tsdown":"^0.22.2","typescript":"^6.0.3","vitest":"^4.1.8"},"dependencies":{"vite-plugin-live-reload":"^3.1.0"},"peerDependencies":{"vite":">=5.0.0"},"scripts":{"build":"tsdown","ci":"npm run build && npm run check-format && npm run test","local-release":"changeset version && changeset publish","prepublishOnly":"npm run ci","test":"vitest run","format":"prettier --write .","check-format":"prettier --check ."},"gitHead":"0cad399cd25183ab1726a04fe58490fa56ddc1d7","_id":"vite-plugin-wordpress@1.0.4","_nodeVersion":"24.16.0","_npmVersion":"11.13.0","dist":{"integrity":"sha512-b1lBXPPltEgLUXyZdujfSVhZrDOVxg9Ocb943bxSS1oKnt11Xih33ZdMUKkkx2kkxLFrc/XCDVLwLuTp/ZO7SA==","shasum":"f304cac782ec843dfd6ca6d1a9fcb124dd16df27","tarball":"https://registry.npmjs.org/vite-plugin-wordpress/-/vite-plugin-wordpress-1.0.4.tgz","fileCount":7,"unpackedSize":10524,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDAp0EHorc7H1uhT3I3H3EeCMIo783NcOkifTEP+ZGI9wIhAIauUX+GXg2a0GBeiSCNDpzrVUd+ZMoTYaWSkFDTCe0d"}]},"_npmUser":{"name":"juster","email":"julien.ramard@gmail.com"},"directories":{},"maintainers":[{"name":"juster","email":"julien.ramard@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vite-plugin-wordpress_1.0.4_1781013864745_0.3532157033122867"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-29T10:01:29.633Z","modified":"2026-06-09T14:04:24.997Z","1.0.1":"2025-07-29T10:01:29.982Z","1.0.2":"2025-07-29T12:10:56.743Z","1.0.3":"2026-06-09T12:59:44.283Z","1.0.4":"2026-06-09T14:04:24.873Z"},"bugs":{"url":"https://github.com/jramard-addviso/vite-plugin-wordpress/issues"},"author":{"name":"Julien Ramard","email":"jramard@addviso.com"},"license":"MIT","homepage":"https://github.com/jramard-addviso/vite-plugin-wordpress#readme","keywords":["plugin","vite","wordpress"],"repository":{"type":"git","url":"git+https://github.com/jramard-addviso/vite-plugin-wordpress.git"},"description":"A plugin to properly integrate a Vite workflow into WordPress.","maintainers":[{"name":"juster","email":"julien.ramard@gmail.com"}],"readme":"# Vite Plugin Wordpress\n\nA plugin to properly integrate a Vite workflow into WordPress.\n\n## How it works\n\nThis plugin creates a file named **vite.config.php** in your project's configuration directory, providing the information needed to resolve paths to the various assets generated by Vite.\n\nWhen Vite runs in development mode, a **.dev** file is generated on the fly at the root of your development folder, containing the URL of the Vite development server.\n\n## Default configuration\n\n```javascript\nimport WordpressPlugin from 'vite-plugin-wordpress'\n\nexport default {\n  plugins: [\n    WordpressPlugin({\n      /**\n       * Wether file changes should be watched and cause a reload.\n       * Either enable/disable it or provide your own paths to watch.\n       * @see https://github.com/arnoson/vite-plugin-live-reload\n       * @type {(boolean | string[])}\n       */\n      watch: true,\n\n      /**\n       * The directory where the `.dev` file is placed.\n       * @type {string}\n       */\n      devDir: process.cwd(),\n\n      /**\n       * Wordpress's config root.\n       * @type {string}\n       */\n      wordpressConfigDir: 'config',\n    }),\n  ],\n}\n```\n","readmeFilename":"README.md"}