Skip to content

Commit abac12d

Browse files
committed
remove UMD bundles from uui-form
1 parent 861695e commit abac12d

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

packages/uui-form/README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,6 @@ When looking to leverage the `UUIFormElement` base class as a type and/or for ex
2424
import { UUIFormElement } from '@umbraco-ui/uui-form/lib';
2525
```
2626

27-
### CDN
28-
29-
The component is available via CDN. This means it can be added to your application without the need of any bundler configuration. Here is how to use it with jsDelivr.
30-
31-
```html
32-
<!-- Latest Version -->
33-
<script src="https://cdn.jsdelivr.net/npm/@umbraco-ui/uui-form@latest/dist/uui-form.min.js"></script>
34-
35-
<!-- Specific version -->
36-
<script src="https://cdn.jsdelivr.net/npm/@umbraco-ui/[email protected]/dist/uui-form.min.js"></script>
37-
```
38-
3927
## Usage
4028

4129
```html

packages/uui-form/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
"bugs": {
2020
"url": "https://github.com/umbraco/Umbraco.UI/issues"
2121
},
22-
"main": "./dist/uui-form.min.js",
22+
"main": "./lib/index.js",
2323
"module": "./lib/index.js",
24+
"types": "./lib/index.d.ts",
2425
"customElements": "custom-elements.json",
2526
"files": [
26-
"dist",
2727
"lib/**/*.d.ts",
2828
"lib/**/*.js",
2929
"custom-elements.json"

packages/uui-form/rollup.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ import { UUIProdConfig } from '../rollup-package.config';
22

33
export default UUIProdConfig({
44
entryPoints: ['index'],
5-
bundle: 'index',
65
});

0 commit comments

Comments
 (0)