Fix test bundler (#1417)

* Updated .gitignore

* Fix parcel build

* Updated .gitignore
This commit is contained in:
Tomas Della Vedova
2021-03-10 14:55:55 +01:00
committed by GitHub
parent f2204c5722
commit 22ece32c5c
2 changed files with 7 additions and 3 deletions

1
.gitignore vendored
View File

@ -60,3 +60,4 @@ test/benchmarks/macro/fixtures/*
.cache .cache
test/bundlers/**/bundle.js test/bundlers/**/bundle.js
test/bundlers/parcel-test/.parcel-cache

View File

@ -4,13 +4,16 @@
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "node bundle.js", "start": "node index.js",
"build": "parcel build index.js --target node --bundle-node-modules --out-file bundle.js --no-source-maps --out-dir ." "build": "parcel build index.js --no-source-maps"
}, },
"keywords": [], "keywords": [],
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"engines": {
"node": ">=12"
},
"devDependencies": { "devDependencies": {
"parcel-bundler": "^1.12.4" "parcel": "^2.0.0-beta.1"
} }
} }