vite-config-factory 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/index.js +1 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,10 +1,9 @@
1
1
  import { defineConfig } from 'vite'
2
2
  import { resolve } from 'path'
3
- import simpleManifest from 'vite-plugin-simple-manifest'
3
+ import { manifestPlugin } from 'vite-plugin-simple-manifest'
4
4
 
5
5
  export function createViteConfig(entries, options = {}) {
6
6
  const { outDir = 'dist', manifestFile = 'manifest.json' } = options
7
- const { manifestPlugin } = simpleManifest
8
7
 
9
8
  return defineConfig(({ mode }) => {
10
9
  const isProduction = mode === 'production'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vite-config-factory",
3
3
  "type": "module",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "description": "A simple Vite plugin for common vite config across multiple projects.",
6
6
  "main": "index.js",
7
7
  "keywords": ["vite", "plugin", "config", "factory"],