mirror of
https://github.com/Joxit/docker-registry-ui.git
synced 2025-04-26 15:09:53 +03:00
feat(theme): add import SVG for docker image
This commit is contained in:
parent
2feff56619
commit
89ae4f64c8
6 changed files with 60 additions and 49 deletions
|
@ -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' }),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue