Skip to content

Commit

Permalink
2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirlovon committed Apr 29, 2022
1 parent a5a95cb commit 0f28e22
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
- 🥂 Short and simple API
- 🎬 Different animations
- 📦 No dependencies
- 🌐 IE11 Support

<br>

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zoomtastic",
"version": "2.2.0",
"version": "2.2.1",
"description": "Tiny image zoomer for web!",
"repository": "https://github.com/Kirlovon/Zoomtastic.git",
"homepage": "https://github.com/Kirlovon/Zoomtastic",
Expand All @@ -20,16 +20,18 @@
"types": "./dist/zoomtastic.d.ts",
"module": "./dist/zoomtastic.es.js",
"scripts": {
"build": "run-s build:*",
"build": "run-p build:*",
"build:dist": "vite build",
"build:types": "tsc zoomtastic.js --declaration --allowJs --emitDeclarationOnly --stripInternal --outDir dist"
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"devDependencies": {
"eslint": "^8.14.0",
"npm-run-all": "^4.1.5",
"typescript": "^4.0.2",
"vite": "^2.9.6"
}
Expand Down
7 changes: 4 additions & 3 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
const path = require('path');
const { defineConfig } = require('vite');
import path from 'path';
import { defineConfig } from 'vite';

module.exports = defineConfig({
export default defineConfig({
build: {
minify: 'terser',
target: 'es2015',
sourcemap: true,
emptyOutDir: false,
reportCompressedSize: true,
Expand Down

0 comments on commit 0f28e22

Please sign in to comment.