Skip to content

Commit

Permalink
Vite: target to 'es6'
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-dukhovnyy committed Feb 24, 2024
1 parent b1f065d commit 529f0ff
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 43 deletions.
73 changes: 38 additions & 35 deletions dist/index.es.js

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

2 changes: 1 addition & 1 deletion dist/index.es.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/index.umd.js

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

2 changes: 1 addition & 1 deletion dist/index.umd.js.map

Large diffs are not rendered by default.

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.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "purify-html",
"version": "1.5.6",
"version": "1.5.7",
"description": "A minimalistic library for sanitizing strings so that they can be safely used as HTML.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default defineConfig({
fileName: format => `index.${format}.js`,
},
sourcemap: true,
target: 'esnext',
target: 'es6',
minify: true,
},
});

0 comments on commit 529f0ff

Please sign in to comment.