File tree 1 file changed +0
-6
lines changed
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 29
29
# remove `BUILD_DIR` from `main`, `module` and `type` entry point paths
30
30
entryPointsCommand=" /\" (main|module|types)\" : .*,/s/$BUILD_DIR \///"
31
31
32
- # sed command to modify volta extends path
33
- # remove one `../` from the extension path of volta
34
- voltaExtendsCommand=" /\" extends\" : \" \.\.\/\.\.\/\.\.\/package.json\" /s/\.\.\/\.\.\/\.\.\//\.\.\/\.\.\//"
35
-
36
32
# use empty backup file extension for sed in-place editing on MacOS and no backup for other platforms
37
33
if [[ $( uname) == " Darwin" ]]; then
38
34
sed -i " " -E " $entryPointsCommand " $BUILD_DIR /package.json
39
- sed -i " " " $voltaExtendsCommand " $BUILD_DIR /package.json
40
35
else
41
36
sed -i -E " $entryPointsCommand #" $BUILD_DIR /package.json
42
- sed -i " $voltaExtendsCommand " $BUILD_DIR /package.json
43
37
fi
44
38
45
39
echo " Successfully finished postbuild commands"
You can’t perform that action at this time.
0 commit comments