popupz
Advanced tools
Comparing version 2.0.0 to 2.1.0
{ | ||
"name": "popupz", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "A simple and customizable popup notification/modal library for React applications.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
import React, { createContext, useContext, useState } from 'react'; | ||
import Popz from './Popz'; | ||
import 'tailwindcss/tailwind.css'; | ||
@@ -4,0 +5,0 @@ const PopzContext = createContext(); |
import { defineConfig } from 'vite'; | ||
import react from '@vitejs/plugin-react'; | ||
import { resolve } from 'path'; | ||
export default defineConfig({ | ||
plugins: [react()], | ||
plugins: [ | ||
react(), | ||
], | ||
build: { | ||
outDir: 'dist', | ||
assetsDir: 'src', | ||
assetsDir: '.', | ||
}, | ||
css: { | ||
postcss: { | ||
plugins: [ | ||
require('tailwindcss')(resolve(__dirname, 'tailwind.config.js')), | ||
require('autoprefixer'), | ||
], | ||
}, | ||
}, | ||
}); |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
241
0
11042
14