Skip to content

Instantly share code, notes, and snippets.

@peterjanes
Created March 23, 2021 14:29
Show Gist options
  • Save peterjanes/dd5c5c48bb5bbbe8e1bfc19363138e9c to your computer and use it in GitHub Desktop.
Save peterjanes/dd5c5c48bb5bbbe8e1bfc19363138e9c to your computer and use it in GitHub Desktop.
Tests for esbuild#1034
{
"name": "esbuild-1034",
"version": "1.0.0",
"scripts": {
"esbuild": "esbuild test.js --bundle"
},
"dependencies": {
"validate.js": "^0.13.1"
},
"devDependencies": {
"esbuild": "^0.9.6"
},
"installConfig": {
"pnp": true
}
}
#!/bin/bash
rm -rf node_modules .yarn* .pnp* yarn.lock package-lock.json
npm install
npm run esbuild
#!/bin/bash
rm -rf node_modules .yarn* .pnp* yarn.lock package-lock.json
yarn install
yarn esbuild
#!/bin/bash
rm -rf node_modules .yarn* .pnp* yarn.lock package-lock.json
yarn set version berry
yarn install
yarn esbuild
import validate from 'validate.js';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment