Skip to content

Commit

Permalink
test commit (file permission issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Finger committed Jan 14, 2025
1 parent baa90fe commit 286bff4
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions packages/quill/scripts/build
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
#!/usr/bin/env bash

set -e

DIST=dist

TMPDIR=$(mktemp -d 2>/dev/null || mktemp -d -t 'mytmpdir')
npx tsc --declaration --emitDeclarationOnly --outDir $TMPDIR

rm -rf $DIST
mkdir $DIST
mv $TMPDIR/src/* $DIST
rm -rf $TMPDIR
npx babel src --out-dir $DIST --copy-files --no-copy-ignored --extensions .ts --source-maps
npx webpack -- --mode $1
# https://github.com/webpack-contrib/mini-css-extract-plugin/issues/151
rm -rf $DIST/dist/*.css.js $DIST/dist/*.css.js.*
cp package.json $DIST
cp README.md $DIST
cp LICENSE $DIST
#!/usr/bin/env bash

set -e

DIST=dist

TMPDIR=$(mktemp -d 2>/dev/null || mktemp -d -t 'mytmpdir')
npx tsc --declaration --emitDeclarationOnly --outDir $TMPDIR

rm -rf $DIST
mkdir $DIST
mv $TMPDIR/src/* $DIST
rm -rf $TMPDIR
npx babel src --out-dir $DIST --copy-files --no-copy-ignored --extensions .ts --source-maps
npx webpack -- --mode $1
# https://github.com/webpack-contrib/mini-css-extract-plugin/issues/151
rm -rf $DIST/dist/*.css.js $DIST/dist/*.css.js.*
cp package.json $DIST
cp README.md $DIST
cp LICENSE $DIST

0 comments on commit 286bff4

Please sign in to comment.