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

rollup: Disable treeshaking in dev mode

parent e02ee11d
No related branches found
No related tags found
No related merge requests found
Pipeline #87571 passed
...@@ -24,6 +24,7 @@ const buildFull = (!watch && appEnv !== 'test') || process.env.FORCE_FULL !== un ...@@ -24,6 +24,7 @@ const buildFull = (!watch && appEnv !== 'test') || process.env.FORCE_FULL !== un
let useTerser = buildFull; let useTerser = buildFull;
let useBabel = buildFull; let useBabel = buildFull;
let checkLicenses = buildFull; let checkLicenses = buildFull;
let treeshake = buildFull;
let useHTTPS = true; let useHTTPS = true;
console.log('APP_ENV: ' + appEnv); console.log('APP_ENV: ' + appEnv);
...@@ -81,6 +82,7 @@ export default (async () => { ...@@ -81,6 +82,7 @@ export default (async () => {
format: 'esm', format: 'esm',
sourcemap: true, sourcemap: true,
}, },
treeshake: treeshake,
preserveEntrySignatures: false, preserveEntrySignatures: false,
plugins: [ plugins: [
del({ del({
......
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