layers-design-system 2.4.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/layers-design-system.js +78505 -0
- package/dist/layers-design-system.umd.cjs +285 -0
- package/dist/style.css +1 -0
- package/package.json +26 -12
- package/.nvmrc +0 -1
- package/babel.config.js +0 -5
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -20
- package/src/assets/button-text-editor/double-quotes.svg +0 -4
- package/src/assets/button-text-editor/remove-formatting.svg +0 -5
- package/src/assets/button-text-editor/title.svg +0 -4
- package/src/assets/failed-to-load/failed-to-load.svg +0 -60
- package/src/assets/l-presentation/external-apps.png +0 -0
- package/src/assets/l-presentation/notification.png +0 -0
- package/src/assets/search-topics/empty-tags.svg +0 -59
- package/src/components/LAlert/docs.vue +0 -81
- package/src/components/LAlert/index.vue +0 -43
- package/src/components/LAttachmentChip/docs.vue +0 -84
- package/src/components/LAttachmentChip/index.vue +0 -179
- package/src/components/LBox/docs.vue +0 -26
- package/src/components/LBox/index.vue +0 -19
- package/src/components/LBoxHeader/index.vue +0 -24
- package/src/components/LBreadcrumb/docs.vue +0 -21
- package/src/components/LBreadcrumb/index.vue +0 -22
- package/src/components/LBreadcrumbItem/index.vue +0 -7
- package/src/components/LButton/docs.vue +0 -205
- package/src/components/LButton/index.vue +0 -369
- package/src/components/LButtonGroup/index.vue +0 -7
- package/src/components/LCarousel/docs.vue +0 -32
- package/src/components/LCarousel/index.vue +0 -88
- package/src/components/LCheckbox/docs.vue +0 -62
- package/src/components/LCheckbox/index.vue +0 -34
- package/src/components/LCheckboxButton/index.vue +0 -30
- package/src/components/LCheckboxGroup/index.vue +0 -53
- package/src/components/LChip/docs.vue +0 -113
- package/src/components/LChip/index.vue +0 -78
- package/src/components/LCircularLoader/docs.vue +0 -30
- package/src/components/LCircularLoader/index.vue +0 -97
- package/src/components/LCollapse/docs.vue +0 -68
- package/src/components/LCollapse/index.vue +0 -13
- package/src/components/LCollapseItem/index.vue +0 -28
- package/src/components/LDatePicker/docs.vue +0 -66
- package/src/components/LDatePicker/index.vue +0 -63
- package/src/components/LDialog/docs.vue +0 -36
- package/src/components/LDialog/index.vue +0 -37
- package/src/components/LDropdown/index.vue +0 -7
- package/src/components/LDropdownItem/index.vue +0 -13
- package/src/components/LDropdownMenu/docs.vue +0 -44
- package/src/components/LDropdownMenu/index.vue +0 -12
- package/src/components/LFailedToLoad/docs.vue +0 -37
- package/src/components/LFailedToLoad/index.vue +0 -61
- package/src/components/LForm/index.vue +0 -7
- package/src/components/LFormItem/index.vue +0 -12
- package/src/components/LHelperBox/assets/link.svg +0 -4
- package/src/components/LHelperBox/assets/open-envelope.svg +0 -9
- package/src/components/LHelperBox/docs.vue +0 -29
- package/src/components/LHelperBox/index.vue +0 -83
- package/src/components/LIcon/docs.vue +0 -174
- package/src/components/LIcon/index.vue +0 -55
- package/src/components/LImage/index.vue +0 -7
- package/src/components/LImageViewer/docs.vue +0 -111
- package/src/components/LImageViewer/index.vue +0 -449
- package/src/components/LInput/docs.vue +0 -43
- package/src/components/LInput/index.vue +0 -60
- package/src/components/LLinearProgress/docs.vue +0 -21
- package/src/components/LLinearProgress/index.vue +0 -74
- package/src/components/LNotice/docs.vue +0 -26
- package/src/components/LNotice/index.vue +0 -86
- package/src/components/LNotification/index.vue +0 -182
- package/src/components/LOption/index.vue +0 -7
- package/src/components/LOptionGroup/index.vue +0 -7
- package/src/components/LPresentation/docs.vue +0 -35
- package/src/components/LPresentation/index.vue +0 -182
- package/src/components/LProgress/index.vue +0 -7
- package/src/components/LPromptDialog/index.vue +0 -82
- package/src/components/LRadio/docs.vue +0 -54
- package/src/components/LRadio/index.vue +0 -13
- package/src/components/LRadioButton/index.vue +0 -30
- package/src/components/LRadioGroup/index.vue +0 -54
- package/src/components/LSearchBar/AddFilterButton.vue +0 -71
- package/src/components/LSearchBar/Filters/Editors/AmountEditor.vue +0 -110
- package/src/components/LSearchBar/Filters/Editors/DateEditor.vue +0 -146
- package/src/components/LSearchBar/Filters/Editors/NumberEditor.vue +0 -141
- package/src/components/LSearchBar/Filters/Editors/StringEditor.vue +0 -140
- package/src/components/LSearchBar/Filters/Editors/index.js +0 -16
- package/src/components/LSearchBar/Filters/FilterChip.vue +0 -105
- package/src/components/LSearchBar/Filters/Views/AmountView.vue +0 -28
- package/src/components/LSearchBar/Filters/Views/DateView.vue +0 -46
- package/src/components/LSearchBar/Filters/Views/NumberView.vue +0 -24
- package/src/components/LSearchBar/Filters/Views/StringView.vue +0 -47
- package/src/components/LSearchBar/Filters/Views/index.js +0 -16
- package/src/components/LSearchBar/docs.vue +0 -60
- package/src/components/LSearchBar/index.vue +0 -240
- package/src/components/LSearchTopics/RecentTermSearched.vue +0 -30
- package/src/components/LSearchTopics/TopicItem.vue +0 -346
- package/src/components/LSearchTopics/docs/drawer.vue +0 -254
- package/src/components/LSearchTopics/docs.vue +0 -60
- package/src/components/LSearchTopics/header.vue +0 -199
- package/src/components/LSearchTopics/helpers/showDialogConfirmation.js +0 -30
- package/src/components/LSearchTopics/helpers/showDiscardChangesDialog.js +0 -27
- package/src/components/LSearchTopics/index.vue +0 -750
- package/src/components/LSelect/docs.vue +0 -129
- package/src/components/LSelect/index.vue +0 -9
- package/src/components/LSlider/index.vue +0 -7
- package/src/components/LSwitch/docs.vue +0 -24
- package/src/components/LSwitch/index.vue +0 -60
- package/src/components/LTabPane/index.vue +0 -7
- package/src/components/LTable/FieldTypes/AmountView.vue +0 -16
- package/src/components/LTable/FieldTypes/DateView.vue +0 -18
- package/src/components/LTable/FieldTypes/EmailView.vue +0 -8
- package/src/components/LTable/FieldTypes/NumberView.vue +0 -13
- package/src/components/LTable/FieldTypes/PaymentStatusView.vue +0 -8
- package/src/components/LTable/FieldTypes/StringView.vue +0 -24
- package/src/components/LTable/FieldTypes/index.js +0 -18
- package/src/components/LTable/LTableBody.vue +0 -245
- package/src/components/LTable/LTableBodySpacer.vue +0 -17
- package/src/components/LTable/LTableEndspace.vue +0 -20
- package/src/components/LTable/LTableHeader.vue +0 -155
- package/src/components/LTable/LTableHeaderCell.vue +0 -188
- package/src/components/LTable/LTableHeaderLoader.vue +0 -62
- package/src/components/LTable/LTableHeaderResizer.vue +0 -162
- package/src/components/LTable/LTableLoadMore.vue +0 -56
- package/src/components/LTable/LTablePagination.vue +0 -174
- package/src/components/LTable/LTableReloader.vue +0 -61
- package/src/components/LTable/ListAdapter.js +0 -74
- package/src/components/LTable/docs.vue +0 -111
- package/src/components/LTable/helpers.js +0 -194
- package/src/components/LTable/index.vue +0 -961
- package/src/components/LTabs/docs.vue +0 -28
- package/src/components/LTabs/index.vue +0 -37
- package/src/components/LTargetChip/docs.vue +0 -86
- package/src/components/LTargetChip/index.vue +0 -64
- package/src/components/LTargetInput/docs.vue +0 -72
- package/src/components/LTargetInput/index.vue +0 -78
- package/src/components/LTextEditor/FloatingLink.vue +0 -91
- package/src/components/LTextEditor/LinkBox.vue +0 -94
- package/src/components/LTextEditor/docs.vue +0 -32
- package/src/components/LTextEditor/extensions/LayersBlockquote.js +0 -12
- package/src/components/LTextEditor/extensions/LayersBold.js +0 -11
- package/src/components/LTextEditor/extensions/LayersBreakLine.js +0 -16
- package/src/components/LTextEditor/extensions/LayersBubbleMenu.js +0 -10
- package/src/components/LTextEditor/extensions/LayersBulletList.js +0 -12
- package/src/components/LTextEditor/extensions/LayersHeading.js +0 -13
- package/src/components/LTextEditor/extensions/LayersHistory.js +0 -10
- package/src/components/LTextEditor/extensions/LayersItalic.js +0 -11
- package/src/components/LTextEditor/extensions/LayersLink.js +0 -29
- package/src/components/LTextEditor/extensions/LayersOrderedList.js +0 -12
- package/src/components/LTextEditor/extensions/LayersParagraph.js +0 -44
- package/src/components/LTextEditor/extensions/LayersPlaceholder.js +0 -11
- package/src/components/LTextEditor/extensions/LayersUnderline.js +0 -29
- package/src/components/LTextEditor/helpers/addProtocol.js +0 -5
- package/src/components/LTextEditor/helpers/removeEmptyTags.js +0 -5
- package/src/components/LTextEditor/index.vue +0 -421
- package/src/components/LTimeSelect/docs.vue +0 -41
- package/src/components/LTimeSelect/index.vue +0 -49
- package/src/components/LToggleButtonGroup/index.vue +0 -87
- package/src/components/LTooltip/docs.vue +0 -66
- package/src/components/LTooltip/index.vue +0 -28
- package/src/components/LTransitionExpand/docs.vue +0 -26
- package/src/components/LTransitionExpand/index.vue +0 -88
- package/src/components/LUpload/index.vue +0 -7
- package/src/docs/Colors.vue +0 -50
- package/src/docs/Home.vue +0 -11
- package/src/docs/Notifications.vue +0 -88
- package/src/docs/index.vue +0 -76
- package/src/docs/routes.js +0 -20
- package/src/helpers/Colors.js +0 -79
- package/src/helpers/FieldTypeComponents.js +0 -43
- package/src/helpers/Icons.js +0 -67
- package/src/helpers/Notification.js +0 -94
- package/src/helpers/PrettySize.js +0 -25
- package/src/helpers/RegisterElementUIComponents.js +0 -9
- package/src/helpers/Schemas.js +0 -18
- package/src/helpers/util.js +0 -15
- package/src/main-docs.js +0 -132
- package/src/main.js +0 -100
- package/src/style/colors.scss +0 -31
- package/src/style/element-variables.scss +0 -21
- package/src/style/icons.scss +0 -5
- package/src/style/layers-variables.scss +0 -73
- package/src/style/layout.scss +0 -2288
- package/src/style/main.scss +0 -11
- package/src/style/notifications.scss +0 -88
- package/src/style/transitions.scss +0 -43
- package/src/style/typography.scss +0 -155
- package/vue.config.js +0 -14
package/src/style/main.scss
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
@import "./layers-variables.scss";
|
|
2
|
-
@import "./element-variables.scss";
|
|
3
|
-
|
|
4
|
-
.layers-design-system {
|
|
5
|
-
@import "./typography.scss";
|
|
6
|
-
@import "./colors.scss";
|
|
7
|
-
@import "./layout.scss";
|
|
8
|
-
@import "./icons.scss";
|
|
9
|
-
@import "./notifications.scss";
|
|
10
|
-
@import "./transitions.scss";
|
|
11
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
.el-notification {
|
|
2
|
-
background-color: var(--color-lead);
|
|
3
|
-
display: flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
min-height: 40px;
|
|
6
|
-
border: none;
|
|
7
|
-
border-radius: 4px;
|
|
8
|
-
padding: 12px 16px;
|
|
9
|
-
|
|
10
|
-
.el-notification__icon {
|
|
11
|
-
color: white;
|
|
12
|
-
}
|
|
13
|
-
.el-notification__icon {
|
|
14
|
-
margin-right: 8px;
|
|
15
|
-
}
|
|
16
|
-
.el-notification__loadingLeft {
|
|
17
|
-
margin-right: 12px;
|
|
18
|
-
}
|
|
19
|
-
.el-notification__loadingRight {
|
|
20
|
-
margin-left: 12px;
|
|
21
|
-
}
|
|
22
|
-
.el-notification__group {
|
|
23
|
-
flex: 1 1 auto;
|
|
24
|
-
min-height: 24px;
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: center;
|
|
27
|
-
flex-wrap: wrap;
|
|
28
|
-
margin: 0px;
|
|
29
|
-
padding: 0px;
|
|
30
|
-
}
|
|
31
|
-
.el-notification__group.not-closeable {
|
|
32
|
-
display: flex;
|
|
33
|
-
flex-wrap: nowrap;
|
|
34
|
-
}
|
|
35
|
-
.el-notification__group.not-closeable .el-notification__wrapper {
|
|
36
|
-
flex: 1 1 auto;
|
|
37
|
-
}
|
|
38
|
-
.el-notification__group.not-closeable .el-notification__content {
|
|
39
|
-
margin-right: 16px;
|
|
40
|
-
}
|
|
41
|
-
.el-notification__content {
|
|
42
|
-
color: white;
|
|
43
|
-
position: relative;
|
|
44
|
-
text-align: left;
|
|
45
|
-
margin-left: 8px;
|
|
46
|
-
margin: 0px;
|
|
47
|
-
height: 100%;
|
|
48
|
-
line-height: 120%;
|
|
49
|
-
font-size: 14px;
|
|
50
|
-
top: 0px;
|
|
51
|
-
}
|
|
52
|
-
.el-notification__title {
|
|
53
|
-
font-size: 14px;
|
|
54
|
-
color: white;
|
|
55
|
-
font-weight: 700;
|
|
56
|
-
min-height: 24px;
|
|
57
|
-
margin-bottom: 4px;
|
|
58
|
-
line-height: 17px;
|
|
59
|
-
display: flex;
|
|
60
|
-
align-items: center;
|
|
61
|
-
}
|
|
62
|
-
.el-notification__actionBtn {
|
|
63
|
-
border: none;
|
|
64
|
-
font-weight: bold;
|
|
65
|
-
padding: 0px;
|
|
66
|
-
line-height: 24px;
|
|
67
|
-
}
|
|
68
|
-
.el-notification_closeButton {
|
|
69
|
-
cursor: pointer;
|
|
70
|
-
margin-left: 8px;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&.success {
|
|
74
|
-
background-color: var(--color-success);
|
|
75
|
-
}
|
|
76
|
-
&.error {
|
|
77
|
-
background-color: var(--color-danger);
|
|
78
|
-
}
|
|
79
|
-
&.warning {
|
|
80
|
-
background-color: var(--color-warning);
|
|
81
|
-
}
|
|
82
|
-
&.cursor-pointer {
|
|
83
|
-
cursor: pointer;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
.el-notification.center {
|
|
87
|
-
left: calc(50% - 165px);
|
|
88
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/* Transitions */
|
|
2
|
-
/* Slide */
|
|
3
|
-
.slide-left-enter-active,
|
|
4
|
-
.slide-left-leave-active,
|
|
5
|
-
.slide-right-enter-active,
|
|
6
|
-
.slide-right-leave-active {
|
|
7
|
-
transition-duration: 0.3s;
|
|
8
|
-
transition-property: height, opacity, transform;
|
|
9
|
-
transition-timing-function: cubic-bezier(0.55, 0, 0.1, 1);
|
|
10
|
-
overflow: hidden;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.slide-left-enter,
|
|
14
|
-
.slide-right-leave-active {
|
|
15
|
-
opacity: 0;
|
|
16
|
-
transform: translate(1em);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.slide-left-leave-active,
|
|
20
|
-
.slide-right-enter {
|
|
21
|
-
opacity: 0;
|
|
22
|
-
transform: translate(-1em);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/* Fade */
|
|
26
|
-
.fade-enter-active, .fade-leave-active {
|
|
27
|
-
transition: opacity .5s;
|
|
28
|
-
}
|
|
29
|
-
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
|
|
30
|
-
opacity: 0;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/* Slow Fade */
|
|
34
|
-
.slowfade-enter-active {
|
|
35
|
-
transition: opacity .5s;
|
|
36
|
-
}
|
|
37
|
-
.slowfade-leave-active {
|
|
38
|
-
transition: opacity .0s;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.slowfade-enter, .slowfade-leave-to /* .fade-leave-active below version 2.1.8 */ {
|
|
42
|
-
opacity: 0;
|
|
43
|
-
}
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
* {
|
|
2
|
-
font-family: "Nunito", sans-serif;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
h1,
|
|
6
|
-
.h1,
|
|
7
|
-
.l-h1 {
|
|
8
|
-
font-size: 36px;
|
|
9
|
-
font-family: "Nunito", sans-serif;
|
|
10
|
-
font-weight: bold;
|
|
11
|
-
line-height: 110%;
|
|
12
|
-
margin: 0;
|
|
13
|
-
}
|
|
14
|
-
h2,
|
|
15
|
-
.h2,
|
|
16
|
-
.l-h2 {
|
|
17
|
-
font-size: 28px;
|
|
18
|
-
font-family: "Nunito", sans-serif;
|
|
19
|
-
font-weight: bold;
|
|
20
|
-
line-height: 120%;
|
|
21
|
-
margin: 0;
|
|
22
|
-
}
|
|
23
|
-
h3,
|
|
24
|
-
.h3,
|
|
25
|
-
.l-h3 {
|
|
26
|
-
font-size: 20px;
|
|
27
|
-
font-family: "Nunito", sans-serif;
|
|
28
|
-
font-weight: bold;
|
|
29
|
-
line-height: 120%;
|
|
30
|
-
margin: 0;
|
|
31
|
-
}
|
|
32
|
-
h4,
|
|
33
|
-
.h4,
|
|
34
|
-
.l-h4 {
|
|
35
|
-
font-size: 18px;
|
|
36
|
-
font-family: "Nunito", sans-serif;
|
|
37
|
-
font-weight: bold;
|
|
38
|
-
line-height: 120%;
|
|
39
|
-
margin: 0;
|
|
40
|
-
}
|
|
41
|
-
h5,
|
|
42
|
-
.h5,
|
|
43
|
-
.l-h5 {
|
|
44
|
-
font-size: 16px;
|
|
45
|
-
font-family: "Nunito", sans-serif;
|
|
46
|
-
font-weight: bold;
|
|
47
|
-
line-height: 120%;
|
|
48
|
-
margin: 0;
|
|
49
|
-
}
|
|
50
|
-
h6,
|
|
51
|
-
.h6,
|
|
52
|
-
.l-h6 {
|
|
53
|
-
font-size: 14px;
|
|
54
|
-
font-family: "Nunito", sans-serif;
|
|
55
|
-
font-weight: bold;
|
|
56
|
-
line-height: 120%;
|
|
57
|
-
margin: 0;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.text-overline,
|
|
61
|
-
.l-text-overline {
|
|
62
|
-
font-size: 12px;
|
|
63
|
-
text-transform: uppercase;
|
|
64
|
-
font-family: "Nunito", sans-serif;
|
|
65
|
-
font-weight: normal;
|
|
66
|
-
line-height: 120%;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.text-link,
|
|
70
|
-
.l-text-link {
|
|
71
|
-
font-size: 14px;
|
|
72
|
-
font-family: "Nunito", sans-serif;
|
|
73
|
-
font-weight: 600;
|
|
74
|
-
line-height: 120%;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.text-extra-large,
|
|
78
|
-
.l-text-extra-large {
|
|
79
|
-
font-size: 24px;
|
|
80
|
-
line-height: 140%;
|
|
81
|
-
}
|
|
82
|
-
.text-large,
|
|
83
|
-
.l-text-large {
|
|
84
|
-
font-size: 20px;
|
|
85
|
-
line-height: 140%;
|
|
86
|
-
}
|
|
87
|
-
.text-medium,
|
|
88
|
-
.l-text-medium {
|
|
89
|
-
font-size: 18px;
|
|
90
|
-
line-height: 140%;
|
|
91
|
-
}
|
|
92
|
-
.text-regular,
|
|
93
|
-
.l-text-regular {
|
|
94
|
-
font-size: 16px;
|
|
95
|
-
line-height: 140%;
|
|
96
|
-
}
|
|
97
|
-
.text-small,
|
|
98
|
-
.l-text-small {
|
|
99
|
-
font-size: 14px;
|
|
100
|
-
line-height: 140%;
|
|
101
|
-
}
|
|
102
|
-
.text-subtitle,
|
|
103
|
-
.l-text-subtitle {
|
|
104
|
-
font-size: 12px;
|
|
105
|
-
line-height: 140%;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
.l-text-left {
|
|
110
|
-
text-align: left !important;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.l-text-right {
|
|
114
|
-
text-align: right !important;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.l-text-center {
|
|
118
|
-
text-align: center !important;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
/* Font weight */
|
|
124
|
-
.semibold,
|
|
125
|
-
.l-semibold {
|
|
126
|
-
font-weight: 600;
|
|
127
|
-
}
|
|
128
|
-
.bold,
|
|
129
|
-
.l-bold {
|
|
130
|
-
font-weight: 700;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
/* Ellipsis */
|
|
134
|
-
.l-ellipsis,
|
|
135
|
-
.ellipsis {
|
|
136
|
-
white-space: nowrap;
|
|
137
|
-
overflow: hidden;
|
|
138
|
-
text-overflow: ellipsis;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.ellipsis-1,
|
|
142
|
-
.l-ellipsis-1 {
|
|
143
|
-
overflow: hidden;
|
|
144
|
-
display: -webkit-box;
|
|
145
|
-
-webkit-box-orient: vertical;
|
|
146
|
-
-webkit-line-clamp: 1;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.ellipsis-2,
|
|
150
|
-
.l-ellipsis-2 {
|
|
151
|
-
overflow: hidden;
|
|
152
|
-
display: -webkit-box;
|
|
153
|
-
-webkit-box-orient: vertical;
|
|
154
|
-
-webkit-line-clamp: 2;
|
|
155
|
-
}
|
package/vue.config.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
const HardSourceWebpackPlugin = require("hard-source-webpack-plugin");
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
css: {
|
|
5
|
-
loaderOptions: {
|
|
6
|
-
sass: {
|
|
7
|
-
prependData: `@import "./src/style/main.scss";`,
|
|
8
|
-
},
|
|
9
|
-
},
|
|
10
|
-
},
|
|
11
|
-
configureWebpack: {
|
|
12
|
-
plugins: [new HardSourceWebpackPlugin()],
|
|
13
|
-
},
|
|
14
|
-
};
|