Skip to content

Commit 377d504

Browse files
authored
Merge pull request #21 from adia-technology/Fix_bundling_problem
Fix bundling problem
2 parents cfbb4fc + 3e2f5e8 commit 377d504

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ jobs:
2626
registry-url: https://registry.npmjs.org/
2727
- run: npm ci
2828
- run: npm run build
29-
- run: npm publish --access public
29+
- run: npm publish dist/policies-consent-widget --access public
3030
env:
3131
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

ng-package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
3-
"dest": "./dist",
3+
"dest": "./dist/policies-consent-widget",
44
"lib": {
55
"entryFile": "src/public-api.ts"
66
},

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
22
"name": "@adia-technology/policies-consent-widget",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "Angular module to manage terms, policies and Smartlook integration.",
5-
"main": "dist/public-api.d.ts",
6-
"module": "dist/adia-technology-policies-consent-widget.d.ts",
5+
"main": "dist/policies-consent-widget/public-api.d.ts",
76
"scripts": {
87
"ng": "ng",
98
"start": "ng serve",
@@ -76,6 +75,6 @@
7675
"zone.js": "~0.9.1"
7776
},
7877
"files": [
79-
"dist/**/*"
78+
"**/*"
8079
]
8180
}

0 commit comments

Comments
 (0)