From 6c559b0603ff100573df290b97f49a23ec28b8e7 Mon Sep 17 00:00:00 2001 From: "ala'n (Alexey Stsefanovich)" Date: Tue, 13 Aug 2024 23:58:13 +0200 Subject: [PATCH] refactor(site): fix playground bundles build --- site/src/lib.less | 23 +++++++++++++++++++++++ site/src/{playground/export => }/lib.ts | 0 site/src/playground/export/lib.less | 23 ----------------------- site/views/examples/anchornav.njk | 2 +- site/webpack.config.js | 2 +- 5 files changed, 25 insertions(+), 25 deletions(-) create mode 100644 site/src/lib.less rename site/src/{playground/export => }/lib.ts (100%) delete mode 100644 site/src/playground/export/lib.less diff --git a/site/src/lib.less b/site/src/lib.less new file mode 100644 index 000000000..286e49887 --- /dev/null +++ b/site/src/lib.less @@ -0,0 +1,23 @@ +@import './common/reboot.less'; +@import './common/typography.less'; +@import './common/colors.less'; + +@import '@exadel/esl/modules/all.less'; + +@import './common/accent-lines.less'; +@import './common/accordion.less'; +@import './common/alert.less'; +@import './common/badge.less'; +@import './common/buttons.less'; +@import './common/code.less'; +@import './common/links.less'; +@import './common/close.less'; +@import './common/containers.less'; +@import './common/simple-grid.less'; +@import './common/forms.less'; +@import './common/flex.less'; +@import './common/helpers.less'; +@import './common/marquee.less'; +@import './common/scrollbar.less'; +@import './common/tabs.less'; +@import './common/dropdown-menu.less'; diff --git a/site/src/playground/export/lib.ts b/site/src/lib.ts similarity index 100% rename from site/src/playground/export/lib.ts rename to site/src/lib.ts diff --git a/site/src/playground/export/lib.less b/site/src/playground/export/lib.less deleted file mode 100644 index da37e23c7..000000000 --- a/site/src/playground/export/lib.less +++ /dev/null @@ -1,23 +0,0 @@ -@import '../../common/reboot.less'; -@import '../../common/typography.less'; -@import '../../common/colors.less'; - -@import '@exadel/esl/modules/all.less'; - -@import '../../common/accent-lines.less'; -@import '../../common/accordion.less'; -@import '../../common/alert.less'; -@import '../../common/badge.less'; -@import '../../common/buttons.less'; -@import '../../common/code.less'; -@import '../../common/links.less'; -@import '../../common/close.less'; -@import '../../common/containers.less'; -@import '../../common/simple-grid.less'; -@import '../../common/forms.less'; -@import '../../common/flex.less'; -@import '../../common/helpers.less'; -@import '../../common/marquee.less'; -@import '../../common/scrollbar.less'; -@import '../../common/tabs.less'; -@import '../../common/dropdown-menu.less'; diff --git a/site/views/examples/anchornav.njk b/site/views/examples/anchornav.njk index 47cae7f8c..db63f0527 100644 --- a/site/views/examples/anchornav.njk +++ b/site/views/examples/anchornav.njk @@ -3,7 +3,7 @@ layout: content title: Anchornav seoTitle: Anchornav component for prompt navigation to different sections of a page name: Anchornav -tags: [examples, beta, playground] +tags: [examples, beta] icon: examples/anchornav.svg aside: components: diff --git a/site/webpack.config.js b/site/webpack.config.js index e2c15412b..0d19d4633 100644 --- a/site/webpack.config.js +++ b/site/webpack.config.js @@ -42,7 +42,7 @@ module.exports = [{ }, { ...BASE_CONFIG, entry: { - 'lib': './src/playground/export/lib.ts', + 'lib': './src/lib.ts', }, experiments: { outputModule: true,