summaryrefslogtreecommitdiffstats
path: root/.config/rollup.config.js
diff options
context:
space:
mode:
Diffstat (limited to '.config/rollup.config.js')
-rw-r--r--.config/rollup.config.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/.config/rollup.config.js b/.config/rollup.config.js
index aaf1e78..10eec93 100644
--- a/.config/rollup.config.js
+++ b/.config/rollup.config.js
@@ -1,4 +1,4 @@
-import pkg from '../package.json' assert { type: 'json' }
+import pkg from '../package.json' with { type: 'json' }
import babel from '@rollup/plugin-babel'
import resolve from '@rollup/plugin-node-resolve'
import commonjs from '@rollup/plugin-commonjs'
@@ -105,10 +105,10 @@ const config = (node, min, esm = false) => ({
file: esm
? './dist/svg.esm.js'
: node
- ? './dist/svg.node.cjs'
- : min
- ? './dist/svg.min.js'
- : './dist/svg.js',
+ ? './dist/svg.node.cjs'
+ : min
+ ? './dist/svg.min.js'
+ : './dist/svg.js',
format: esm ? 'esm' : node ? 'cjs' : 'iife',
name: 'SVG',
sourcemap: true,