Compare commits

..

3 Commits

Author SHA1 Message Date
semantic-release-bot 8a821734ba chore(release): 0.1.0-develop.8 [skip ci]
# [0.1.0-develop.8](https://git.lumeweb.com/LumeWeb/presetter-relay-plugin-preset/compare/v0.1.0-develop.7...v0.1.0-develop.8) (2023-07-07)

### Bug Fixes

* set esbuild mainFields and conditions to prioritize cjs ([b1d4070](b1d4070193))
2023-07-07 08:10:05 +00:00
Derrick Hammer c522222a21
Merge remote-tracking branch 'origin/develop' into develop 2023-07-07 04:09:14 -04:00
Derrick Hammer b1d4070193
fix: set esbuild mainFields and conditions to prioritize cjs 2023-07-07 04:09:03 -04:00
4 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,10 @@
# [0.1.0-develop.8](https://git.lumeweb.com/LumeWeb/presetter-relay-plugin-preset/compare/v0.1.0-develop.7...v0.1.0-develop.8) (2023-07-07)
### Bug Fixes
* set esbuild mainFields and conditions to prioritize cjs ([b1d4070](https://git.lumeweb.com/LumeWeb/presetter-relay-plugin-preset/commit/b1d407019364186a82660b93381d46205d4c82fe))
# [0.1.0-develop.7](https://git.lumeweb.com/LumeWeb/presetter-relay-plugin-preset/compare/v0.1.0-develop.6...v0.1.0-develop.7) (2023-07-07) # [0.1.0-develop.7](https://git.lumeweb.com/LumeWeb/presetter-relay-plugin-preset/compare/v0.1.0-develop.6...v0.1.0-develop.7) (2023-07-07)
# [0.1.0-develop.6](https://git.lumeweb.com/LumeWeb/presetter-relay-plugin-preset/compare/v0.1.0-develop.5...v0.1.0-develop.6) (2023-07-07) # [0.1.0-develop.6](https://git.lumeweb.com/LumeWeb/presetter-relay-plugin-preset/compare/v0.1.0-develop.5...v0.1.0-develop.6) (2023-07-07)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@lumeweb/presetter-relay-plugin-preset", "name": "@lumeweb/presetter-relay-plugin-preset",
"version": "0.1.0-develop.7", "version": "0.1.0-develop.8",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/presetter-relay-plugin-preset", "name": "@lumeweb/presetter-relay-plugin-preset",
"version": "0.1.0-develop.7", "version": "0.1.0-develop.8",
"dependencies": { "dependencies": {
"@lumeweb/node-library-preset": "^0.2.7", "@lumeweb/node-library-preset": "^0.2.7",
"esbuild": "^0.18.11", "esbuild": "^0.18.11",

View File

@ -1,6 +1,6 @@
{ {
"name": "@lumeweb/presetter-relay-plugin-preset", "name": "@lumeweb/presetter-relay-plugin-preset",
"version": "0.1.0-develop.7", "version": "0.1.0-develop.8",
"type": "module", "type": "module",
"main": "lib/index.js", "main": "lib/index.js",
"repository": { "repository": {

View File

@ -81,6 +81,8 @@ export default async function (context: PresetContext): Promise<PresetAsset> {
format: "cjs", format: "cjs",
bundle: true, bundle: true,
platform: "node", platform: "node",
mainFields: ["main", "module"],
conditions: ["require"],
}, },
}, },
variable: DEFAULT_VARIABLE, variable: DEFAULT_VARIABLE,