@everymatrix/player-account-balance-modal
Advanced tools
Comparing version 0.0.189 to 0.0.190
{ | ||
"name": "@everymatrix/player-account-balance-modal", | ||
"version": "0.0.189", | ||
"version": "0.0.190", | ||
"main": "dist/player-account-balance-modal.js", | ||
@@ -8,3 +8,3 @@ "svelte": "src/index.ts", | ||
"start": "sirv public", | ||
"build": "cross-env NODE_ENV=\"production\" && rollup -c", | ||
"build": "cross-env NODE_ENV=production rollup -c", | ||
"dev": "cross-env NODE_ENV=\"development\" rollup -c -w", | ||
@@ -41,3 +41,3 @@ "validate": "svelte-check", | ||
}, | ||
"gitHead": "3781af65baf0822b42483eec16cd95a8cb26f983" | ||
"gitHead": "44b4ddd09b030b74cbb8c6b1614bbe67fc010f66" | ||
} |
@@ -9,5 +9,8 @@ import svelte from 'rollup-plugin-svelte'; | ||
import typescript from '@rollup/plugin-typescript'; | ||
const production = process.env.NODE_ENV === 'production'; | ||
const dev = process.env.NODE_ENV === 'development'; | ||
import uglify from 'rollup-plugin-uglify'; | ||
import image from '@rollup/plugin-image'; | ||
const production = process.env.NODE_ENV == 'production'; | ||
const dev = process.env.NODE_ENV == 'development'; | ||
export default { | ||
@@ -19,3 +22,3 @@ input: 'src/index.ts', | ||
name: 'app', | ||
file: 'dist/player-account-balance-modal.js' | ||
file: 'dist/casino-lobby.js', | ||
}, | ||
@@ -26,2 +29,5 @@ plugins: [ | ||
compilerOptions: { | ||
// @TODO check generate and hydratable | ||
// generate: 'ssr', | ||
// hydratable: true, | ||
// enable run-time checks when not in production | ||
@@ -32,2 +38,3 @@ customElement: true, | ||
}), | ||
image(), | ||
commonjs(), | ||
@@ -53,3 +60,3 @@ resolve({ | ||
// instead of npm run dev), minify | ||
production && | ||
production && | ||
terser({ | ||
@@ -59,3 +66,4 @@ output: { | ||
}, | ||
}) | ||
}), | ||
production && uglify.uglify() | ||
], | ||
@@ -62,0 +70,0 @@ watch: { |
395624
15
2158
5