From 53c6b3c80493f5e3caad0d9d9cbb501180411a52 Mon Sep 17 00:00:00 2001 From: Bram Borggreve Date: Mon, 14 Dec 2020 01:07:36 -0500 Subject: [PATCH] fix: tweak tailwind integration --- .../web-style/files/tailwind/src/index.scss__tmpl__ | 4 +--- .../stack/src/schematics/web-style/schematic-web-style.ts | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/stack/src/schematics/web-style/files/tailwind/src/index.scss__tmpl__ b/packages/stack/src/schematics/web-style/files/tailwind/src/index.scss__tmpl__ index a31e4441..90d4ee00 100644 --- a/packages/stack/src/schematics/web-style/files/tailwind/src/index.scss__tmpl__ +++ b/packages/stack/src/schematics/web-style/files/tailwind/src/index.scss__tmpl__ @@ -1,3 +1 @@ -@import 'tailwindcss/base'; -@import 'tailwindcss/components'; -@import 'tailwindcss/utilities'; +/* You can add global styles to this file, and also import other style files */ diff --git a/packages/stack/src/schematics/web-style/schematic-web-style.ts b/packages/stack/src/schematics/web-style/schematic-web-style.ts index f52836b3..79077ead 100644 --- a/packages/stack/src/schematics/web-style/schematic-web-style.ts +++ b/packages/stack/src/schematics/web-style/schematic-web-style.ts @@ -28,7 +28,7 @@ export default function (options: WebStyleSchematicSchema): Rule { ? externalSchematic('@ngneat/tailwind', 'ng-add', { project: appName, style: 'scss', - 'use-custom-webpack-beta': true, + useCustomWebpackBeta: true, }) : noop(), addFiles(normalizedOptions, `./files/${library}`),