Skip to content

Commit

Permalink
Fix terser import
Browse files Browse the repository at this point in the history
  • Loading branch information
James Goldie committed May 11, 2024
1 parent 7d59e49 commit 31896f4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions _extensions/sverto/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import svelte from 'rollup-plugin-svelte'
import commonjs from '@rollup/plugin-commonjs'
import resolve from '@rollup/plugin-node-resolve'
import { terser } from 'rollup-plugin-terser'
import svelte from "rollup-plugin-svelte"
import commonjs from "@rollup/plugin-commonjs"
import resolve from "@rollup/plugin-node-resolve"
import terser from "@rollup/plugin-terser"

const path = require('node:path')

// this is false when we run rollup with -w/--watch (never presently)
const production = !process.env.ROLLUP_WATCH;


/* export an array of rollup configs - one for each input svelte file - using
additional command line args supplied from lua */
export default cmd => {
Expand Down

0 comments on commit 31896f4

Please sign in to comment.