Skip to content
Snippets Groups Projects
Commit 0f3d9a69 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Update deps

parent e6352489
No related branches found
No related tags found
No related merge requests found
......@@ -14,11 +14,11 @@
"puppeteer": "^1.15.0",
"rollup": "^1.20.0",
"rollup-plugin-commonjs": "^10.0.2",
"rollup-plugin-consts": "^1.0.1",
"rollup-plugin-copy": "^3.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-multi-entry": "^2.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-serve": "^1.0.1",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-url": "^2.2.2",
......
......@@ -4,10 +4,10 @@ import commonjs from 'rollup-plugin-commonjs';
import copy from 'rollup-plugin-copy';
import {terser} from "rollup-plugin-terser";
import json from 'rollup-plugin-json';
import replace from "rollup-plugin-replace";
import serve from 'rollup-plugin-serve';
import multiEntry from 'rollup-plugin-multi-entry';
import url from "rollup-plugin-url"
import consts from 'rollup-plugin-consts';
const pkg = require('./package.json');
const build = (typeof process.env.BUILD !== 'undefined') ? process.env.BUILD : 'local';
......@@ -21,6 +21,9 @@ export default {
},
plugins: [
multiEntry(),
consts({
environment: build,
}),
resolve({
customResolveOptions: {
// ignore node_modules from vendored packages
......@@ -39,13 +42,11 @@ export default {
fileName: 'shared/[name].[hash][extname]'
}),
json(),
replace({
"process.env.BUILD": '"' + build + '"',
}),
(build !== 'local' && build !== 'test') ? terser() : false,
copy({
targets: [
{src: 'assets/index.html', dest: 'dist'},
{src: 'node_modules/material-design-icons-svg/paths/*.json', dest: 'dist/local/vpu-common/icons'},
],
}),
(process.env.ROLLUP_WATCH === 'true') ? serve({contentBase: 'dist', host: '127.0.0.1', port: 8002}) : false
......
auth @ 6a6413f4
Subproject commit 31a528fe1a36c08c1f16d4998d193b5f5cb623b3
Subproject commit 6a6413f48e0cd5508546841905f73a9486211bd0
common @ f65096b9
Subproject commit 47aeef8162129cb7beab9ec1d1e1bf7bb9b2e578
Subproject commit f65096b99b737a046d07ad6616eec31788850422
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment