Skip to content

Commit 5b59780

Browse files
committed
copy license to dist
1 parent 94cf2b2 commit 5b59780

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bundle.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ const packageJson = JSON.parse(
5050
async function main() {
5151
await $`rm -rf ${outputDir}/dist`;
5252
await $`mkdir -p ${outputDir}/dist`;
53+
await $`cp LICENSE ${outputDir}/dist`;
5354
await $`touch ${outputDir}/yarn.lock`;
5455

5556
const dependencies = getDependenciesFromPackages(packages, 'dependencies');
@@ -74,8 +75,8 @@ async function main() {
7475
define: {
7576
'process.env.NODE_ENV': '"production"',
7677
},
77-
minify: true,
78-
sourcemap: true,
78+
// minify: true,
79+
// sourcemap: true,
7980
});
8081

8182
packageJson.dependencies = filterWorkspace({

0 commit comments

Comments
 (0)