use directories for structure
This commit is contained in:
11
node_modules/.bin/minifyfromhtml.ps1
generated
vendored
Normal file
11
node_modules/.bin/minifyfromhtml.ps1
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env pwsh
|
||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
||||
|
||||
$exe=""
|
||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
||||
# Fix case when both the Windows and Linux builds of Node
|
||||
# are installed in the same directory
|
||||
$exe=".exe"
|
||||
}
|
||||
& "$basedir/../minifyfromhtml/minifyfromhtml.js" $args
|
||||
exit $LASTEXITCODE
|
Reference in New Issue
Block a user