diff --git a/README.md b/README.md index bb479c2..8ecb275 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,6 @@ - 🥂 Short and simple API - 🎬 Different animations - 📦 No dependencies -- 🌐 IE11 Support
diff --git a/package-lock.json b/package-lock.json index 981c001..f71fc8b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "zoomtastic", - "version": "2.2.0", + "version": "2.2.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "zoomtastic", - "version": "2.2.0", + "version": "2.2.1", "license": "MIT", "devDependencies": { "eslint": "^8.14.0", diff --git a/package.json b/package.json index be7c429..37faa61 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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" } diff --git a/vite.config.js b/vite.config.js index e915c11..0e26d18 100644 --- a/vite.config.js +++ b/vite.config.js @@ -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,