Skip to content

Commit

Permalink
Use Prod Assets only
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Aug 20, 2024
1 parent 10eae74 commit 0eca410
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/@glimmer-workspace/build/lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,12 @@ export class Package {
let builds = [];

if (formats.esm ?? true) {
builds.push(...this.rollupESM({ env: 'dev' }));
// builds.push(...this.rollupESM({ env: 'dev' }));
builds.push(...this.rollupESM({ env: 'prod' }));
}

if (formats.cjs ?? true) {
builds.push(...this.rollupCJS({ env: 'dev' }));
builds.push(...this.rollupCJS({ env: 'prod' }));
}

return builds;
Expand Down Expand Up @@ -418,7 +418,7 @@ export class Package {
return {
input: resolve(root, ts),
output: {
file: resolve(root, 'dist', env, file),
file: resolve(root, 'dist', 'dev', file),
format,
sourcemap: true,
exports: format === 'cjs' ? 'named' : 'auto',
Expand Down

0 comments on commit 0eca410

Please sign in to comment.