mirror of
https://github.com/cupcakearmy/svelte-i18n.git
synced 2024-06-30 18:54:49 +02:00
style: 💄 format rollup.config
This commit is contained in:
parent
998508f985
commit
f6c826497d
|
@ -1,11 +1,11 @@
|
||||||
import commonjs from 'rollup-plugin-commonjs'
|
import commonjs from 'rollup-plugin-commonjs';
|
||||||
import ts from 'rollup-plugin-typescript2'
|
import ts from 'rollup-plugin-typescript2';
|
||||||
import { terser } from 'rollup-plugin-terser'
|
import { terser } from 'rollup-plugin-terser';
|
||||||
import autoExternal from 'rollup-plugin-auto-external'
|
import autoExternal from 'rollup-plugin-auto-external';
|
||||||
|
|
||||||
import pkg from './package.json'
|
import pkg from './package.json';
|
||||||
|
|
||||||
const PROD = !process.env.ROLLUP_WATCH
|
const PROD = !process.env.ROLLUP_WATCH;
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
|
@ -38,4 +38,4 @@ export default [
|
||||||
],
|
],
|
||||||
plugins: [autoExternal(), commonjs(), ts(), PROD && terser()],
|
plugins: [autoExternal(), commonjs(), ts(), PROD && terser()],
|
||||||
},
|
},
|
||||||
]
|
];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user