simple-web-cli
Advanced tools
Comparing version 4.3.0 to 4.3.1
@@ -102,2 +102,4 @@ import { ConnectConfig } from 'ssh2'; | ||
root: string; | ||
/** 🖥️ Hostname or IP address of the server */ | ||
host: string; | ||
isWindowsServer?: boolean; | ||
@@ -104,0 +106,0 @@ } |
@@ -380,3 +380,3 @@ import fs from 'fs'; | ||
if (process_files?.js?.babel) { | ||
const request = await exec(`npx --quiet rollup -i "${pre}" -o "${pre}" -f "iife" -c`); | ||
const request = await exec(`npx --quiet rollup -i "${pre}" -o "${pre}" -c`); | ||
if (!request) error = true; | ||
@@ -383,0 +383,0 @@ } |
@@ -544,3 +544,3 @@ import fs from 'fs'; | ||
if (process_files?.js?.babel) { | ||
const request = await exec(`npx --quiet rollup -i "${pre}" -o "${pre}" -f "iife" -c`); | ||
const request = await exec(`npx --quiet rollup -i "${pre}" -o "${pre}" -c`); | ||
if (!request) error = true; | ||
@@ -547,0 +547,0 @@ } |
{ | ||
"name": "simple-web-cli", | ||
"type": "module", | ||
"version": "4.3.0", | ||
"version": "4.3.1", | ||
"main": "./.swrc.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -48,2 +48,3 @@ <p align="center"> | ||
- Once the process is started, the event occurs by **saving any file** into `src`. | ||
- All options are preconfigured and you can customize them 😉 | ||
@@ -97,19 +98,2 @@ <hr /> | ||
#### HTML Import | ||
- You can import `.html` files recursively, based on the `scss` import, for example: | ||
```html | ||
<html> | ||
<body> | ||
<!-- import('./views/_header.html') --> | ||
<section> | ||
<!-- import('./views/_main.html') --> | ||
</section> | ||
<!-- import('../_footer.html') --> | ||
</body> | ||
</html> | ||
``` | ||
<hr /> | ||
#### Using SFTP or FTP HotSync | ||
@@ -237,2 +221,19 @@ | ||
#### HTML Import | ||
- You can import `.html` files recursively, based on the `scss` import, for example: | ||
```html | ||
<html> | ||
<body> | ||
<!-- import('./views/_header.html') --> | ||
<section> | ||
<!-- import('./views/_main.html') --> | ||
</section> | ||
<!-- import('../_footer.html') --> | ||
</body> | ||
</html> | ||
``` | ||
<hr /> | ||
#### CSS | Sass | ||
@@ -400,4 +401,4 @@ | ||
**Made with _sadness_ and _sorrow_ in rainy nights by [Weslley Araújo](https://github.com/wellwelwel)** 🌌 | ||
**Made with _sadness_ and _sorrow_ in rainy nights by [Weslley Araújo](https://github.com/wellwelwel)** 💜 | ||
</p> |
@@ -24,2 +24,7 @@ // @ts-check | ||
], | ||
output: { | ||
strict: true, | ||
format: 'iife', | ||
inlineDynamicImports: true, | ||
}, | ||
}); | ||
@@ -26,0 +31,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
91117
2060
401