feat(theme): add import SVG for docker image

This commit is contained in:
Joxit 2023-01-09 23:33:27 +01:00
parent 2feff56619
commit 89ae4f64c8
No known key found for this signature in database
GPG key ID: F526592B8E012263
6 changed files with 60 additions and 49 deletions

View file

@ -13,6 +13,7 @@ import copy from 'rollup-plugin-copy';
import copyTransform from './rollup/copy-transform.js';
import license from './rollup/license.js';
import checkOutput from './rollup/check-output.js';
import importSVG from './rollup/import-svg.js';
const useServe = process.env.ROLLUP_SERVE === 'true';
const output = useServe ? '.serve' : 'dist';
@ -20,6 +21,7 @@ const output = useServe ? '.serve' : 'dist';
const plugins = [
riot(),
json(),
importSVG(),
nodeResolve(),
commonjs(),
scss({ fileName: `docker-registry-ui.css`, outputStyle: 'compressed' }),