Skip to content

Commit 39056a1

Browse files
author
Simon Stone
authored
fix(*): use webpack version for browsers (#478)
Signed-off-by: Simon Stone <[email protected]>
1 parent 8645a0c commit 39056a1

File tree

5 files changed

+18
-3
lines changed

5 files changed

+18
-3
lines changed

package-lock.json

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/concerto-core/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"node": ">=14",
88
"npm": ">=6"
99
},
10-
"main": "dist/concerto-core.js",
10+
"main": "index.js",
11+
"browser": "dist/concerto-core.js",
1112
"typings": "types/index.d.ts",
1213
"scripts": {
1314
"prepublishOnly": "webpack --config webpack.config.js --mode production",

packages/concerto-cto/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"node": ">=14",
88
"npm": ">=6"
99
},
10-
"main": "dist/concerto-cto.js",
10+
"main": "index.js",
11+
"browser": "dist/concerto-cto.js",
1112
"typings": "types/index.d.ts",
1213
"scripts": {
1314
"prepublishOnly": "webpack --config webpack.config.js --mode production",

packages/concerto-tools/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"npm": ">=6"
99
},
1010
"main": "index.js",
11+
"browser": "dist/concerto-tools.js",
1112
"typings": "types/index.d.ts",
1213
"scripts": {
1314
"prepublishOnly": "webpack --config webpack.config.js --mode production",

packages/concerto-util/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"node": ">=14",
88
"npm": ">=6"
99
},
10-
"main": "dist/concerto-util.js",
10+
"main": "index.js",
11+
"browser": "dist/concerto-util.js",
1112
"typings": "types/index.d.ts",
1213
"scripts": {
1314
"prepublishOnly": "webpack --config webpack.config.js --mode production",

0 commit comments

Comments
 (0)