Comparing version 1.5.0 to 1.5.1
{ | ||
"name": "atbuild", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"main": "dist/atbuild.js", | ||
@@ -57,3 +57,3 @@ "browser": "web/atbuild.js", | ||
"postbuild": "rimraf dist/**/*{.test.ts, .test.js, .ts.d.js}", | ||
"build": "yarn build-node && yarn build-web; yarn build-types", | ||
"build": "yarn build-node && yarn build-web && yarn build-types", | ||
"build-web": "esbuild --sourcemap --define:\"process.env.NODE_ENV\"=\"'production'\" --define:\"process.env.WEB=true\" --bundle ./src/atbuild.ts ./src/light.ts --format=esm --outdir=./web ", | ||
@@ -69,3 +69,2 @@ "build-types": "yarn tsc --p tsconfig.json --outfile types || true", | ||
"dependencies": { | ||
"atbuild": "../", | ||
"esbuild": "https://github.com/Jarred-Sumner/esbuild/releases/download/pluginbuild/esbuild-0.8.1.tgz", | ||
@@ -72,0 +71,0 @@ "loader-utils": "^2.0.0", |
@@ -12,4 +12,8 @@ # AtBuild – Experimental JavaScript Preprocessor | ||
Try the playground: https://atbuild.vercel.app/bundle/date-formatter.tsb | ||
Try the playground | ||
<a target="_blank" href="https://atbuild.vercel.app/bundle/date-formatter.tsb"> | ||
<img src="" /> | ||
</a> | ||
# How it works | ||
@@ -26,3 +30,3 @@ | ||
1. Code inside of `$(buildTimeCodeInHere)` will be run & replaced at buildtime (❤️ jQuery) | ||
1. Code inside of `$(buildTimeCodeInHere)` will be run & replaced at buildtime | ||
2. Code fenced within `// $$` will be moved to buildtime | ||
@@ -68,3 +72,3 @@ 3. Lines ending with `// $` with be moved to buildtime | ||
⌨️ `atbuild ./input.js ./output.js` | ||
[⌨️ `atbuild ./input.js ./output.js`](https://atbuild.vercel.app/bundle/date-formatter.tsb) | ||
@@ -71,0 +75,0 @@ `output.js`: |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
229636
6
430
3
- Removedatbuild@../